Sponsored Content
Top Forums UNIX for Advanced & Expert Users Utility or script for renaming files on UNIX web server Post 9442 by everettr on Friday 26th of October 2001 04:07:48 PM
Old 10-26-2001
Question Utility or script for renaming files on UNIX web server

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.

Any advice?

Thanks!!
~Rachel
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dynamic web pages for Unix Web Server

Hi, my company is considering a new development of our web site, which used to run on Apachi over Solaris. The company who is going to do this for us knows only about developing it in ASP. I guess this means we'll have to have another ISS server on NT for these dynamic pages :( What are... (5 Replies)
Discussion started by: me2unix
5 Replies

2. UNIX for Dummies Questions & Answers

Web browser and web server for Unix

Hi there all I am looking for both a web browser as well as a web server (Ie. Netscape Fasttrack) that will run on HPUX 10. If you know where I can get these free via FTP, please contact me as soon as possible!! Thanks, Mark (1 Reply)
Discussion started by: mleathers
1 Replies

3. UNIX for Dummies Questions & Answers

Ways to Access Files on Unix Server via Web

Hi all! I'm a web developer with a question. We have a contractor that is working on a project that requires the user to access a ton of files on the clients Unix server. He has plans to built a VB interface for on site windows users to access those files and wants us to develop a web based... (4 Replies)
Discussion started by: Imhotep1963
4 Replies

4. UNIX for Dummies Questions & Answers

How to connect unix server via web

How can I conncet web server via web? What are the pre- requist? I am having only one Public IP, I am useing SCO OPEN SERVER 5.0.5 Help Me. Thanks in advance (3 Replies)
Discussion started by: max_san007
3 Replies

5. Shell Programming and Scripting

Utility or script for renaming files on UNIX web server

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... (2 Replies)
Discussion started by: everettr
2 Replies

6. Shell Programming and Scripting

script for to take files from FTP server to UNIX server and Unzipped that files

script for to take files from FTP server to UNIX server and Unzipped that files (1 Reply)
Discussion started by: sunilamarnadh
1 Replies

7. Shell Programming and Scripting

Help with renaming files in remote server

I have to write a script to get some files from remote server using FTP and rename it after the FTP. I use wildcard to get the file as i do not no the exact file name or the number of files in the remote server. My script is similar to the following... #!/bin/sh LOG=/Log/ftp.log ftp (FTP... (0 Replies)
Discussion started by: infossiva
0 Replies

8. Shell Programming and Scripting

Renaming Multiple Files in FTP Server

Hi Friends, I have a requirement to get multiple files from ftp(remote) server and once the files is copied to local machine , I need to move the files on to a different directory in ftp machine. FTP Machine : 9.9.999.999 Source File Directory : /ftpuser File Pattern: TMS* Now I have... (1 Reply)
Discussion started by: lokeshbao87
1 Replies

9. Shell Programming and Scripting

Renaming multiple files in sftp server in a get files script

Hi, In sftp script to get files, I have to rename all the files which I am picking. Rename command does not work here. Is there any way to do this? I am using #!/bin/ksh For eg: sftp user@host <<EOF cd /path get *.txt rename *.txt *.txt.done ... (7 Replies)
Discussion started by: jhilmil
7 Replies

10. Shell Programming and Scripting

Problem renaming files on Solaris 10 server

Good day all. I'm trying to rename some files in my home directory with some bizarre results. Basically I need to change the IP address in the filename to the hostname which I ggrep from within the file: -rw-r--r-- 1 bh694n nrc 5095 May 2 20:03 alarms_999.189.161.146.log... (2 Replies)
Discussion started by: BRH
2 Replies
BOND2TEAM(1)						  Bonding to Team conversion tool					      BOND2TEAM(1)

NAME
bond2team -- Converts bonding configuration to team SYNOPSIS
bond2team [options] DESCRIPTION
bond2team is a tool to convert bonding options to team trying as much as possible to keep the original functionality. The resulting files are saved in a temporary directory using ifcfg style by default. In the case of converting an ifcfg file, it translates the bonding options to team, preserving all other options. In that case, it converts the respective slave ifcfg files to team port, pre- serving all their other options too. In case of converting from given bonding options in the command line, the tool can use the specified ports as team ports. OPTIONS
--master <interface> Specify the interface name or ifcfg file to convert. If the interface name is specified, the tool will look at /etc/sysconfig/network-scripts/ for the respective ifcfg file. --rename <interface> This is a convenient option to replace the original interface name by the specified name. For instance, if --master specifies bond0, it is possible to use --rename team0 to change the final interface name to team0. --ifcfg Set the output format to ifcfg config style. [default] --json Set the output format to JSON style. See teamd.conf(5) for further details. --bonding_opts '<bonding options>' Specify the bonding options to be converted instead of reading them from the ifcfg file. --port <interface> Set the specified interface as a team port. --configdir <directory> Change the ifcfg configuration path from /etc/sysconfig/network-scripts to the specified <directory>. --outputdir <directory> Set the output directory to <directory>. --stdout Print the result to the screen instead of writing to files. --debug Increase the debugging level. --quiet Disallow any messages to be printed to console. --version Print tool version to console and exit. --help Print help text to console and exit. --examples Print common usage examples to console and exit. EXAMPLES
To convert the current 'bond0' ifcfg configuration to team ifcfg: # bond2team --master bond0 To convert the current 'bond0' ifcfg configuration to team ifcfg renaming the interface name to 'team0'. Caution : firewall rules, alias interfaces, etc., that might be tied to the original interface name can break after the renaming because the tool will only change the ifcfg file, nothing else. # bond2team --master bond0 --rename team0 To convert given bonding parameters with ports without any ifcfg: # bond2team --bonding_opts 'mode=1 miimon=500 primary=eth1 primary_reselect=0' --port eth1 --port eth2 --port eth3 --port eth4 For more examples, see the option --examples. CAVEATS
The tool will not convert any other configuration which might be tied to the current setup. For instance, firewall rules, alias interfaces, bridges, and so on. AUTHOR
Flavio Leitner is the original author of the tool. Jiri Pirko is the original author and current maintainer of libteam. SEE ALSO
teamd(8), teamdctl(8), teamd.conf(5), teamnl(8) libteam 2013-07-18 BOND2TEAM(1)
All times are GMT -4. The time now is 09:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy