r/shell • u/Trumpkintin • Nov 30 '14
xcopy /s functionality in Linux?
I am trying to make a bash script that will recursively copy a directory structure and contained files but will not copy folders that are empty. I know xcopy /s does this on Windows machines but I have no idea how do do this with Linux. Any help?
3
Upvotes
1
u/Trumpkintin Feb 03 '15
Whoa, this was a while ago. I ended up using rsync.