duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Get list of files in backup ordered by size


From: Daniel Hahler
Subject: [Duplicity-talk] Get list of files in backup ordered by size
Date: Thu, 18 Nov 2010 21:41:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

Hello,

this is a useful snippet if you want to trim your backup(s):

for i in $(duply $NAME list | tail -n +10 | head -n -1 | cut -b26-); do
  FILE="/$i";
  test -f $FILE && du $FILE;
done | sort -n -r > backup-size.list

via 
http://daniel.hahler.de/ftplicity-duply-duplicity-get-list-of-files-in-backup-sorted-by-size

I found this very useful when building my excludes file.


Cheers,
Daniel

-- 
http://daniel.hahler.de/



reply via email to

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