FCP-INDI / cpac

A convenience wrapper for https://github.com/FCP-INDI/C-PAC that provides a simple command line interface.
https://fcp-indi.github.io/docs/latest/user/cpac
MIT License
4 stars 3 forks source link

🔥 Remove any directories that cpac creates but does not populate #30

Open shnizzedy opened 2 years ago

shnizzedy commented 2 years ago

Related problem

cpac creates directories that it expects before binding them (so the directories will be created/owned by the user running cpac), but sometimes those directories are empty by the time cpac is done, especially if running utilities.

Proposed feature

Keep track of directories created by cpac, and in the cleanup phase, delete any that are empty.

Acceptance criteria

Alternatives

No response

Additional context

No response