bug-fileutils
[Top][All Lists]
Advanced

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

du and tar: --exclude-from option


From: Jacob Elder
Subject: du and tar: --exclude-from option
Date: Sat, 28 Sep 2002 18:13:11 -0400
User-agent: Mutt/1.4i

It appears that du and tar use a different pattern language for their
--exclude-from option. I was trying to predict the size of a backup that
would be performed with tar, and came across a discrepency.

df reports that I'm using 2882M.
tar --exclude-from says that the backup is 2722M.
du with my tar-friendly exclude from reports that I'm using 2942M.
du without any exclude file reports that I'm using exactly: 2942M.

The options have the same name, and both commands hail from gnu.org, so
shouldn't they cooperate?

Linux 2.4.18, ext3, Debian Unstable, fileutils 4.1, tar 1.13.25. My exclude
file is attached.

-- 
Jacob Elder
http://www.lucidpark.net/

Attachment: exclude
Description: Text document


reply via email to

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