rsync: "Skipping directory"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

rsync: "Skipping directory"

Post by ^rooker »

[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:

Code: Select all

rsync -avP
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply