rsync excluding hidden files?
Can someone advise how to rsync without copying the hidden . files in home directory?
|
If you want to exclude all hidden files and directories, you can add the option
Code:
--exclude=".*" |
Thanks I forgot the quotes.
|
More thanks
Thumbs up from me also...just the answer I was looking for, cheers.
J |
Just saying, most of the time you seem to get away with it:
Code:
for i in ./.*; do echo "$i"; done |
All times are GMT -5. The time now is 08:05 PM. |