Hi
Does anyone have a script to rename files into a specified format? What I
would like to have it do is when executed in a directory, list each file,
prompt for a Name:, then you type that, it prompts for a Doc Title:, type
that, and then it renames the file into a format like [Name]-Doc
Title.txt.
So:
[me@here /me]$ mv-command
my first file.txt
Name: <i type JOHN>
Doc Title: <i type first doc>
my sec file.txt
Name: <i type james>
Doc Title: <i type second doc>
[me@here /me]$ ls
[John]-First Doc.txt
[James]-Second Doc.txt
It would be even better if it would automaticall capitalize the first
letter of each word.. Anyone have any ideas? I've been trying to do it in
perl but can't figure it out..
Thanks in advance!
Bryan
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.