Shell Scripts





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
Free Shell Scripts
List All
Rename File
Rename Multiple Files
Remove Files From Folder
Fun Dancing Script
Dancing Move
FTP Login Report
Netstats

 





outsourced web hosting support

Rename / Renaming Multiple Files Script


About
Free shell renamer script used for renaming multiple files under the particular folder.


Features
a) Renaming multiples files on your computer is made easy.
b) Add or rename file extensions.
c) Just copy the code and use it in your command line.
d) Fast and simple renamer shell script.

Code
#------------------  Script by hscripts.com    ------------------#
#-----------------   Copywrite of HIOXINDIA    ------------------#
#--------------  More scripts @www.hscripts.com   ---------------#

#!/bin/bash

  echo "Enter Folder Name Under which filename is to be renamed:"; 
  read fname   //foldername
  echo "Enter the File Name:"; 
  read name1  //filename without extension
   
  cd $fname
    for x in *.png   		// Change extension as per your need
    do n=${x/.png/.png};
    mv $x $name1$n;
  done
#------------ Script by hscripts.com -------------------------#

Release Date - 06-04-2010
Get free version without ©copyright link for just 5 price

For customization of this script or any script development, contact us at support@hscripts.com



Usage
a) Copy the above code and save it with .sh extension
b) Execute the sh file in command line for renaming multiple files.
c) Execute the renamer shell script as sh filename.sh.
d) Give the foldername and filename.
e) Now all files are renamed under the specific folder.


License
- The Unix Shell Scripts and examples is given under GPL License
- i.e. Free use for those who use it as it is.
- Free, if your modification does not remove our copyright information and links.
- For Detailed License information Click here
- If your requirements does not meet GPL License terms, you can purchase the script with us.
Other Links

web hosting