[Gllug] moving files

Martin A. Brooks martin at hinterlands.org
Wed Dec 14 07:35:37 UTC 2005


Andy Low wrote:
> I have a noob question that probably has a simple  answer ...

Please don't send HTML email to this list.

http://www.hinterlands.org/gllugfaq/#id2481859

> Any how I have tcpdump capturing traffic to file, a new file is created 
> every time the capture file gets to 20 meg, my question is how can I 
> move the all files but leave the newest / smaller that 20meg one to a 
> new directory for archiving?

mv has a --exclude=PATTERN option.

Mart.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list