Search : in
By :

How 2 rename al the files with same extension

Last answer on Aug 5, 2009 10:21:19 am BST idiot, on Jun 28, 2009 6:50:31 pm BST 
 Report this message to moderators

Hello,
hai i want rename all the files which has an extension of .gif to .jpg using shell client......please help us...
thanks in advance

Configuration: Windows XP shell client

Best answers for « how 2 rename al the files with same extension » in :
Renaming multiple files in batch Show Renaming multiple files in batch Native features Using a third-party program Renaming a large number of files can quickly become tedious. Fortunately, there are tools to automate this task in many cases: Native features On Windows...
Associating an application to a file extension Show Associating an application to a file extension Display all file extensions Modify an existing file association Create a new file association Manage the list of file extensions Display all file extensions Windows XP by default will mask...
XTM file extension ShowExtension .XTM How to use XtremSplit? An XTM file extension is a data created by the XtremSplit program. This software is used to split large files into smaller ones and then rebuild them. Download XtremSplit from...
Associating file extension ShowAssociating file extension The tool for associating a file extension to a program is accessible through the options files under Windows XP Below is a tips of how to associate file to a specific program. Go to menu and select...
Outlook Saving Address Book (WAB file) ShowOutlook Saving Address Book (WAB file) Method 1 Method 2 Method 1 You should first of all locate the folder to save the address book from Microsoft Outlook or Outlook Express. The address book has a file extension .Wab. To locate...
Download LiveProject Free Project Viewer ShowLiveProject is an application of visualization of file mpp free. LiveProject introduces no degradation of the file mpp during exportation in format Excel or html. With LiveProject, you will be able to print your own documents. The use of LiveProject...
Download Ghostscript Viewer ShowThe original program to view documents in the PostScript format (files having the extension .PS). It can be also used to see PDF files, or even to convert Postscript (.ps ) into PDF.
UNIX - Files ShowIntroduction to UNIX files In UNIX systems any element is represented in the form of a file. All files are architectured around a single tree structure where the base, called the root, is written "/". File types UNIX systems define different...
FTP protocol (File Transfer Protocol) ShowIntroduction to FTP protocol FTP protocol (File Transfer Protocol) is, as its name indicates a protocol for transferring files. The implementation of FTP dates from 1971 when a file transfer system (described in RFC141) between MIT machines...

1

ghostdog74, on Jun 29, 2009 7:30:24 am BST

for files in *.gif
do
   mv "$files" "${files%.gif}.jpg"
done 

Reply to ghostdog74

2

 Tom6, on Aug 5, 2009 10:21:19 am BST

Hi :)

While linux tends to be able to ignore file extensions and correctly identify the correct coding of a file any Windows users will be completely stuck trying to open these renamed files. ".gif" and ".jpg" are very different ways of compressing an image requiring quite different decoding mechanisms. If you use Gimp or something similar then doing 2Save As ..." and changing the file-extension is enough to make Gimp (or whichever) translate the picture from one format to another. Simply changing the file-extension through a bash-script will not (afaik)

http://www.gimp.org/docs/

Gimp is probably included in the standard install of whichever flavour of linux you have installed
Good luck and regards from
Tom :)

Reply to Tom6