[Gllug] Script for splitting dirs

Brent Geach brent at telecom1.com
Tue Jun 3 11:38:32 UTC 2003


Hi
Was just wondering if anyone had a similar script before I went and wrote one
(been scratching head on how to start it!)

I want the script to scan through a dir by date and then move all files to a
datedir eg (0304-0404) until that dir gets to 1G in size then create new dir
and fill that up till 1G etc etc etc.

Any ideas?

-- 
Regards,

Brent              /"\
                   \ /
Linux Registered    X  ASCII Ribbon Campaign
User #309941       / \ Against HTML Mail



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list