[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] echo filename (without extension)
- Subject: [ale] echo filename (without extension)
- From: christopher at bergeron.com (Christopher Bergeron)
- Date: Tue, 17 Dec 2002 16:53:21 -0500
Here's another quick one ... How can I echo just the filename and not
the extension in this script?
for i in `\ls M*`; do
echo $i
done
I'd like to just echo everything up to the .jpg
Also: does anyone have a quick one or two liner that can convert all
filenames in a dir to lowercase?
If you haven't guessed, I'm just scripting my camera to upload pics,
create thumbnails, and insert them into a Mysql DB.
I appreciate any suggestions.
Thanks,
CB
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale