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

Rsync, how to include ~/.files but not ~/.dirs



Hi, 

Is there any way to tell rsync to backup all the . files under my home but
no any . directories? E.g., .profile in, but .gconf/ & .gnome/ etc out?

FYI, I tried with the following exclude rules but it didn't work, . directories
are still included.  

 rsync -vua --exclude-from=exclude.list 

 File exclude.list:
 + /home/tong/.*
 /home/tong/.*/

please help

thanks

tong


-- 
Tong (remove underscore(s) to reply)
  http://xpt.sf.net/techdocs/
  http://xpt.sf.net/tools/



Reply to: