Displaying 2 results from an estimated 2 matches for "remote_folder_to_delete".
2016 Jun 02
6
Delete remote folder
...-)way to delete them
again afterwards, something like
rsync -a --delete --prune-empty-dirs dest dest
Unfortunately at least one place has to be local, doing a
remote-remote is not possible.
The second problem is that I want to delete older backups.
I can use
rsync -a --delete empty_local_folder remote_folder_to_delete
to get rid of the contents. However the folder itself still remains.
So after a while I'd have a lot of empty folders.
As I want this to work on various systems I can't (and don't
want to) use remote shell hacks like "do_something && rsync ".
Also the policy of what...
2016 Jun 02
0
Delete remote folder
...ng like
>
> rsync -a --delete --prune-empty-dirs dest dest
>
> Unfortunately at least one place has to be local, doing a
> remote-remote is not possible.
>
> The second problem is that I want to delete older backups.
> I can use
>
> rsync -a --delete empty_local_folder remote_folder_to_delete
>
> to get rid of the contents. However the folder itself still remains.
> So after a while I'd have a lot of empty folders.
>
> As I want this to work on various systems I can't (and don't
> want to) use remote shell hacks like "do_something && rsync &quo...