harun
April 24, 2021, 12:15pm
1
I'm using below command to move src to dest but I couldn't figure out delete the empty src dirs. I think --delete-empty-src-dirs flag is only for rclone move .
rclone moveto /root/backups/ remote:/backups
(Google Drive)
under /root/backups/ there are subfolders and tar.gz files.
asdffdsa
(jojothehumanmonkey)
April 24, 2021, 12:38pm
2
hello and welcome to the forum,
why not use rclone move
?
harun
April 24, 2021, 12:43pm
3
because I need to move the folder structure
asdffdsa
(jojothehumanmonkey)
April 24, 2021, 1:05pm
4
as per the docs "If the source is a directory then it acts exactly like the move command."
harun
April 24, 2021, 1:39pm
5
Already tried move command it moves the files only not dirs I think that's why there is moveto.
asdffdsa
(jojothehumanmonkey)
April 24, 2021, 1:55pm
6
rclone moveto
is for the renaming of a individual file.
otherwise, as per the docs, it behaves the same as rclone move
if src is directory
move it to dst, overwriting existing files if they exist
see move command for full details
if that is not true, do you have an example with a debug log?
system
(system)
Closed
June 24, 2021, 9:55am
7
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.