[olug] Unix Tip: FILES TOO LARGE FOR FLOPPY

Unix Guru Universe listserv at ugu.com
Sat May 3 21:37:07 UTC 2003


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

			      UNIX GURU UNIVERSE 
			         UNIX HOT TIP

			Unix Tip 1949 - May  3, 2003

		    http://www.ugu.com/sui/ugu/show?tip.today

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


FILES TOO LARGE FOR FLOPPY

Ever want to find the files 
that won't fit on a floppy 
when you need to do a 
doswrite to export something? 
This will do it:

find . -size +1440k -exec ls -ld {}\;

Note: This will list the files 
in the directory where you are,
that exceed the maximum size 
in kilobytes for a high-density
DOS format floppy. Please don't 
forget the single dot after 
"find" and you can change the 
1440k to whatever you want. 
(I once had a need to find 
stuff that was 3 megabytes and 
over to keep out of a directory 
so I used +3000k in place of the
+1440k above.)




--------------------------------------------------------------------------
To Subscribe:    http://www.ugu.com/sui/ugu/show?tip.subscribe
To Unsubscribe:  http://www.ugu.com/sui/ugu/show?tip.unsubscribe
To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today

==========================================================================
DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX 
GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU  ADVISES THAT 
ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.

Unix Guru Universe - www.ugu.com - tips at ugu.com - Copyright 1994-2001
==========================================================================



More information about the OLUG mailing list