"Yingcai Zheng" <[EMAIL PROTECTED]> wrote:

> Hi, all.
>
> How to archive a directory (with many levels of sub directories) without
> those files whose sizes are larger than, say, 200Mbyte? Thanks.

star -c f=tar.out maxsize=200m .

or

star -c f=tar.out -find . ( -type f -size -200000000c ) -o true

( -type f -size -200000000c ) -o true  will include all non-plain-file type 
files.



If you use the built in find(1), you may do a lot other things including
incore uid change using -chown, gid change using -chgrp and mode change 
using -chmod

star excludes all files if the result of the find(1) expression is FALSE.


ftp://ftp.berlios.de/pub/star/alpha/

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


Reply via email to