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

Re: [SLUG] howto copy files and keep details intact?

> cd /var ; for i in * ; do du -s $i ; done

or just 
du --max-depth=1 /var

And yeh "cp -a" is what you want to use.


 e-mail: aquila at hypox dot org   
 website: http://aquila.hypox.org  
 geek code:
   GCS d- s+:--- a-- C++++ ULS++>++++ 
   P+++ L+++>++++$ E--- W++ N+ o? K? 
   w---- O- M-- V-- PS---@nospam. PE--@nospam. Y? 
   PGP- t 5 X- R tv+ b+ DI-- D+ G++ 
   e(++) h! r* y 

SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug