Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Make an option to delete source directories after successful transfer #276

Open
Semnodime opened this issue Jan 15, 2022 · 2 comments

Comments

@Semnodime
Copy link

Plenty of people on Stackexchange (SuperUser, Unix&Linux) and other plattforms have wondered, why their directories have remained untouched after specifying the --remove-source-files option.

Whatever has been the reason to not include directories in the removal in the first place, I kindly want to propose to add a command line option to include directories in the removal of source files.

@Semnodime
Copy link
Author

Semnodime commented Jan 17, 2022

I want to kindly disagree,

I mean an command line option that just leaves behind an empty source directory (given that all files (recursively) within the directory have successfully been transferred).

To provide some abstract example: rsync would (in most cases) then behave like running find /path/to/source/directory -depth -empty -delete on the source directory, leaving nothing but non-transferable / non-transferred files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Semnodime and others