rsync: "Skipping directory"
Posted: Sat Dec 17, 2016 2:29 am
[PROBLEM]
Rsync says "Skipping directory" when I try to copy a folder tree.
Spoiler alert! It took me 15mins now to figure out that this is a no-brainer.
Therefore I will write it down to save others the same humiliation
[SOLUTION]
I didn't tell rsync to do recursion.
Just add "-r" or "-a" as option to rsync and everything's fine.
May favorite set of arguments is:
Rsync says "Skipping directory" when I try to copy a folder tree.
Spoiler alert! It took me 15mins now to figure out that this is a no-brainer.
Therefore I will write it down to save others the same humiliation
[SOLUTION]
I didn't tell rsync to do recursion.
Just add "-r" or "-a" as option to rsync and everything's fine.
May favorite set of arguments is:
Code: Select all
rsync -avP