Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Utility or script for renaming files on
Name: Rachel Everett Date: October 26, 2001 at 13:05:28 Pacific
Comment:
Greetings!
Does anyone know of a utility or a script for renaming files on a UNIX web server? I've seen several of these types of renaming utilities for Windows, but none for UNIX. I have 10,000 files that I need to rename in a several tier (deep) web site directory. I have the original names/new names and directory paths documented in MS Access tables. If I could find a tool that would automate this renaming process... even if I need to enter each file name to find and replace, I would be tres happy.
Name: James Boothe Date: October 26, 2001 at 13:51:49 Pacific
Reply:
Rachel, If you could dump your list of filenames to a unix file, it would be a very simple script to process that file to do the renames. Provide a few lines of that file, and it will take just a few minutes to write the script. James
Summary: Best choice would be for that file to have something besides spaces for the field delimeters (comma, semicolon, bar character). Your only problem right now is with spaces in phone number, but what if...
Summary: Hi, I'm trying to create a shell script to check for the existence of a file on an NT box prior to an FTP process. If it doesn't exist then the process sleeps. Can anyone help? Thanks. Cherian ...
Summary: Hello, I have a over 1000 files on a linxu box and I need to rename them. Can you write me a simple script which do the job. Here is my files format: dsfds.gif dfddfa.gif eoirewuro.gif gklfgf.gif oi...