osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

copy only non-hidden files


>From time to time I see different scripts or techniques on this 
question.  The best approach I've seen yet is:



rsync -av --exclude=".*" src dest

https://stackoverflow.com/a/11557219/262852



the rare time when I want to do this then I spend time trying to recall 
how to even find that solution.  Is there another tool or approach, 
perhaps?



thanks,

Thufir