Displaying 2 results from an estimated 2 matches for "empty_local_fold".
Did you mean:
empty_local_folder
2016 Jun 02
6
Delete remote folder
...here's a (rsync-)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 "...
2016 Jun 02
0
Delete remote folder
...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_somet...