You are not logged in.
Pages: 1
Is there a way to fix this so it prompts for a destination directory?
rsync --progress -r -u %F
Thanks.
Ubuntu-Mate 24.04
Offline
Hey, I'm not sure what your use case is, but maybe you can use a tool like yad to show a destination directory dialog:
sh -c 'rsync --progress -r -u "$(yad --file --directory --width=980 --height=660 --quoted-output --center --title "Select a destination directory")"'
If you want to select multiple directories, add the following flag to the yad command:
--multiple
Last edited by PaperNick (2022-10-07 08:09:10)
Offline
Thanks for your help. but this did not work.
sh -c 'rsync --progress -r -u "$(yad --file --directory --width=980 --height=660 --quoted-output --center --title "Select a destination directory")"'
Last edited by fixit (2022-10-07 13:52:18)
Ubuntu-Mate 24.04
Offline
I think wrapping it in "sh -c" and "--quoted-output" broke it for some reason. This should work now:
rsync --progress -r -u %F "$(yad --file --directory --width=980 --height=660 --center --title "Select a destination directory")"
Offline
Thanks. It works great.
Ubuntu-Mate 24.04
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 522.1 KiB (Peak: 522.95 KiB) ]