NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
eton
Jan 22, 2011Luminary
rsync folder exclusion tips
I just would like to share my reasearch on how to exclude a folder with rsync. The man pages uses the form FolderName/, but that excludes all folders with that name whereever they are stored on the b...
eton
Jan 31, 2015Luminary
I've had some problems with rsync for a while. My previous settings stopped working. So I've done a bit of research. Here are the results.
Source is: "Volume: c"
Excluded paths on destination:
Works
Doesn't work
Kinda strange that absolute paths doesn't work (/c/media/BitTorrent/), but directories referenced with soft/symbolic links are accepted (/media/BitTorrent/).
In order to just view the symlinks:
Source is: "Volume: c"
Excluded paths on destination:
Works
media/BitTorrent/,media/Temp/-\ Name/Works
/media/BitTorrent/,/media/Temp/-\ Name/
Doesn't work
c/media/BitTorrent/,c/media/Temp/-\ Name/Doesn't work
/c/media/BitTorrent/,/c/media/Temp/-\ Name/
Kinda strange that absolute paths doesn't work (/c/media/BitTorrent/), but directories referenced with soft/symbolic links are accepted (/media/BitTorrent/).
In order to just view the symlinks:
#ls / -la | grep ^l
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!