ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
P.S.: One question: looking at http://www.linuxquestions.org/questi...der=descending
I have that suspicion this all might be homework
stuff? You seem to have an awful lot of weird
files that need conversion... [/B]
No we have a client that needs to rename 17,000 files that used to be 000001.eps, 000002.eps up to 17,000 and the want to rename them according to the name that the .eps file is (which happens to be corporate logos). We just needed to find a way to rename them all using two text files, one with the original file names, and one with the proposed file names along with the original logos, all named 000001.eps and so forth. That way it is easier for them to find their desired logo more quickly. We so far have used Perl, Bash, Sed, and Awk in a series of steps to rename these for them. We received alot of help from the members of LQ and once we are done we would like to submit a tutorial of how to do this based on what we have done sucessfully all with open source tools.
It is important to note that the clients did spend one day trying to manually rename these files in Windows, it took one person 8 hours to rename 300 files. For them to rename these 17,000 files in this attempt, it would take almost 60 full 8 hour days, 480 man hours to do this task, $10 per hour would be $5,000; $20 per hour would be $10,000, we wanted to save them time and money and demonstrate the resourcefulness of Open Source products, needless to say they are very impressed.
Thanks for the explanation, it's just that I've answered
a few of your queries over the last few weeks, seen
others answer more, and you only ever come back
with different questions.
Btw, I'm sure that others would appreciate a "thanks",
and maybe some sort of feed-back whether their solutions
worked for you, too. You know, this place is driven
by volunteers, and to just come in and abuse us as
a free problem-solving machine, specially when you
get money for it (you did say "your customers", right?)
appears a bit rude.
You are right, I should express my thanks in the previous posts, I will remember to do that in the future. And to all members out there who have helped me in the past, I appreciate your time and support.
I just also wanted to mention, as I did in my last post, that once all of this is done and over with, I intended on providing a case study or tutorial on how to batch rename thousands of files to unique file names. Is this not a way to say thanks? Giving back to the community? This all sounds familiar somehow?
I don't think I am the rude one here, read your last post.
By the way I work for "The MAN", so I did not profit from it in any way other than the knowledge.
Last edited by embsupafly; 08-20-2005 at 04:18 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.