|
From: | edgar . soldin |
Subject: | Re: [Duplicity-talk] using the 'find' command to exclude files over a certain file size |
Date: | Fri, 14 Jan 2011 14:26:12 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
On 14.01.2011 14:23, address@hidden wrote: >> I managed to get it to work from your suggestion to use a formatted file!! >> > >> > I used.. >> > find /home/jason -size +100M -printf "%p\n" \ >> > | while read FILE; do >> > FILE=${FILE// /\\ }# subsitute whitespace with "\ " >> > echo "$FILE" >> /tmp/filelist >> > done > wouldn't a > find /home/jason -size +100M -print > /tmp/filelist > do the same? > also you wouldn't have to delete the file in the end as it would get > overwritten on every run. did it choke on spaces in the path? ..ede
[Prev in Thread] | Current Thread | [Next in Thread] |