bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] archive files < certain size


From: Joerg Schilling
Subject: Re: [Bug-tar] archive files < certain size
Date: Mon, 20 Aug 2007 23:13:40 +0200
User-agent: nail 11.22 3/20/05

"Yingcai Zheng" <address@hidden> 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:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily




reply via email to

[Prev in Thread] Current Thread [Next in Thread]