-
Notifications
You must be signed in to change notification settings - Fork 165
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
Added Parameter to Remove Extraneous Files on Upload #202
base: master
Are you sure you want to change the base?
Conversation
This commit adds two parameters (--delete, --delete-excluded) to the upload command. When specified, files that have been removed locally will be removed (more precisely will be moved to the trash) on the server as well. This functionality is usefull to keep local and remote conent in sync. It mimics the behaviour of the respective rsync commands.
Glad you like it! It indeed seems to be related to the feature request you've mentioned. I wasn't aware of it, though, I just happened to have some free time and was missing the feature from the cli ;) Regards, On November 26, 2015 9:00:20 PM GMT+01:00, Steve Nolen [email protected] wrote:
|
Two things:
|
@sthm 👍 great feature |
|
|
Nice feature to add 👍 |
I had a need for this functionality as well and found this PR. Since it wasn't merged, I tried my hand at applying the diff to the current head of master but found the changes were no longer compatible due to the changes to "rework NodeCache" (commit 8997b8c). I took a shot at making the necessary changes and they seem to work ok, at least with my data. I don't claim total understanding of all the dependent code, though, so it could surely use a look from someone more familiar with the code base. If anyone wants to advance this work, feel free to use what I've got at https://github.com/philrz/acd_cli as a basis. |
Any update on this being merged? It is a feature that would be immensely helpful with my environment. |
Please merge it. |
Waaaaant |
I would love to see this merged. Having deleted files put into the trash would be awesome, as I currently back up photos from my FreeNAS appliance to Prime Photos using acd_cli. |
This commit adds two parameters (--delete, --delete-excluded) to the upload
command. When specified, files that have been removed locally will be removed
(more precisely will be moved to the trash) on the server as well.
This functionality is usefull to keep local and remote conent in sync. It mimics
the behaviour of the respective rsync commands.