[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] regular expression question
On Wed, Jun 25, 2003 at 10:59:35PM +1000, Freelancer wrote:
> I've been trying to do a regular expression to extract a list of files
> whose size is 4096 from a directory tree, with their path information.
Ugh... don't they teach you kids anything at uni these days? ;-)
find (starting directory) -size (size)c [ the c means 'characters' ]
e.g. find ~/ -size 4096c
Find is great, but not a lot of people know how to use it. Take the
time though, it's really good! I'll have a closer look at your regexp
question when I get to work. :-)
"And with a bit of luck... his life was ruined forever."
- Raoul Duke, Fear and Loathing in Las Vegas.
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to email@example.com.
If you are having trouble, ask firstname.lastname@example.org for help.