[Gllug] Maildir Archiving

Ben Whyte ben at whyte-systems.co.uk
Wed Mar 12 22:22:35 UTC 2008

>>  What about using find? eg:
>>  find ~/Maildir/cur -type f -mtime +90 -print0|xargs -0 -i mv {}
>>  ~/Maildir/.archive/cur
> Sorry didn't read the preferably tar part - had a late night. :)  The
> principal is the same though.

Cheers, thats the approach or very similar.  I excluded directories and 
piped to a file, before taring using the file and then using xargs to do 
the rm from the file.

Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list