I need to sync remotes files to local with the following command:
rsync -schavzP --stats --files-from=./filelist.txt -e "ssh -p 22" [email protected]:/home/somewhere/ .
While filelist.txt contains uuid formatseveral subfolder filenames:
subfolder/746fbd52-ec44-41b8-8f62-ead5beb8e57e746fbd52ec4441b88f62ead5beb8e57e
subfolder/test
The remote file "test" is synced normally while the first uuid styled file failed withcommand gives the following error:
rsync: link_stat "/home/somewhere/746fbd52-ec44-41b8-8f62-ead5beb8e57e"subfolder/746fbd52ec4441b88f62ead5beb8e57e" failed: No such file or directory
If I issue rsync without files-from, and give the remote filename directly in command line, it works.
Appreciate if someone could lend me a hand. Thank you.