|
From: | Tim Kientzle |
Subject: | Re: [Bug-tar] archive files < certain size |
Date: | Mon, 20 Aug 2007 22:57:17 -0700 |
User-agent: | Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 |
Joerg Schilling wrote:
"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 you can use the standard find command to identify the files you want and have tar use the resulting list: find . -size -400000 | tar -cf tar.out -T - Study the man page for find for details on how to get very fine control over the file selection. Cheers, Tim Kientzle
[Prev in Thread] | Current Thread | [Next in Thread] |