Sponsored Content
Full Discussion: changing file extension
Top Forums UNIX for Dummies Questions & Answers changing file extension Post 302288196 by pludi on Monday 16th of February 2009 05:15:37 PM
Old 02-16-2009
Since you're on Linux, this could work
Code:
rename .JPG .jpg *.JPG

Note that the rename utility isn't available on (most) other UNIXes, I have only seen it on Linux thus far.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Lynx - Downloading - extension handling - changing mime type?

Using Lynx, when I try to download a .rar, it confirms I want to download and its got it as an appication/rar file. However, split archives that end in .r## (.r00, .r01 ...) are not recognized as an appication/rar file and it reads the file like a .txt or .html. How can I fix this? Thanks! (2 Replies)
Discussion started by: yitzle
2 Replies

2. Shell Programming and Scripting

Changing extension

Hi , I need to replace the file name extension with txt to csv,i wrote the below script when executing its giving the below error.Please anyone how to do this? $ a2.sh mv: *.: cannot access: No such file or directory ./a2.sh: o: bad number $ vi a2.sh a2.sh ----- #!/bin/ksh txt=$1... (4 Replies)
Discussion started by: mohan705
4 Replies

3. UNIX for Dummies Questions & Answers

Changing the extension of the file

I have a list of files in a particular folder Example: File name - sample.F1.test I want to change the extension of the above file to .csv The final file should be renamed as sample.csv (4 Replies)
Discussion started by: mazhar803
4 Replies

4. Shell Programming and Scripting

changing filename extension

Hi All, i need to change the filename extension. For simplicity, we can assume that the extension after '.' is 3 characters only... but the filenames can vary. eg. changing from abc.doc to abc.dxs can i have a oneline command to achieve this (3 Replies)
Discussion started by: Hiso
3 Replies

5. UNIX for Dummies Questions & Answers

Changing file extension

Hello all, I need to change file extension for all .doc files to .txt file in multiple folders. I know the way to rename them by going to each folder and doing that, but I need something which I can run from home directory so that It does the renaming in all the nested directories. Thanks. (4 Replies)
Discussion started by: jaysean
4 Replies

6. UNIX for Dummies Questions & Answers

creating separate directories according to file extension and keeping file in different directory as

unix program to which a directory name will be passed as parameter. This directory will contain files with various extensions. This script will create directories with the names of the extention of the files and then put the files in the corresponding folder. All files which do not have any... (2 Replies)
Discussion started by: Deekay.p
2 Replies

7. UNIX for Dummies Questions & Answers

Rename multiple files, changing prefix, extension and dropping characters

I'm currently only able to perform some very basic functions, so hope this makes sense... I have a set of about 27 files that need to be renamed from something like this: 000012ABCDEFGHIJ.XXX.YYY.ZZZ 000078KLMNO.XXX.YYY.ZZZ 000099PQ.XXX.YYY.ZZZ to something like this: newa012.abc... (11 Replies)
Discussion started by: bbmcg
11 Replies

8. Shell Programming and Scripting

Changing file extension in csh alias

I want to type only the filename of a gcc source that has ".syn" as an extension and copy it, changing the extension to ".c" so it can be compiled. I do it as follows: if (-e $1.syn) then /bin/cp $1.syn $1.c endif This works fine, but if I want to repeat the compilation by... (1 Reply)
Discussion started by: ygmwayne
1 Replies

9. UNIX for Dummies Questions & Answers

Display the .csv extension files based on .done extension fine

Hi All, I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing. 1.I need to display the .done files from the directory. 2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory ... (2 Replies)
Discussion started by: girija.g6
2 Replies

10. Debian

Changing file extension names

Hi I have a list of files :root@L28mustang:/var/log/exim4/2017/Jul2017_Blast_BC07# ls -lrt | grep mainlog -rw-r----- 1 Debian-exim adm 3636932 Jul 8 06:25 mainlog.3.gz -rw-r----- 1 Debian-exim adm 919512 Jul 9 06:27 mainlog.2.gz -rw-r----- 1 Debian-exim adm 7655054 Jul 10 06:25 mainlog.1... (1 Reply)
Discussion started by: anaigini45
1 Replies
GTKAM(1)																  GTKAM(1)

NAME
gtkam - Graphical front end for gphoto2 COMMANDS
File Menu File->Save Photos Gives options to save photos to the computer. File->Save Photos->Selected Saves the selected photos from the camera to the computer. File->Save Photos->All Saves all photos in the camera to the computer. Both menu items open a "Save photos..." dialog box which allows the user to select the folder to save the images in, as well as a number of other options. What to save: This is a set of checkboxes which allows the user to select the forms in which data for the selected image(s) will be saved. Any or all of these options may be selected at once. Save photos This is the default. It causes the photos being saved to be downloaded from the camera and saved to the identified folder. Save raw data FIXME: What to say? Save audio data Causes any audio data associated with the image to be saved to the selected folder. Save thumbnails Saves a small version of the selected images to the identified folder. Save EXIF data Saves the EXIF data associated with the images. FIXME: should we say more about the EXIF format? Open image(s) with: This allows the user to specify FIXME ?? Use filename(s) provided by the camera. Causes the saved files to have the names provided by the camera. Filename prefix: Defines a prefix to be used when creating filenames. This prefix is combined with the number starting with the number defined in: Start numbering with: Defines the first number of the sequence of photos to be stored. File->Delete Photos Gives options to delete photos from the camera. File->Delete Photos->Selected Deletes selected photos from the camera. File->Delete Photos->All Deletes all photos in the camera. Both of these menu items open a dialog to confirm the deletion of the photos. A list of photos is presented with a checkbox beside each photo name. Uncheck the box to prevent a specific file from being deleted. File->Quit Quits gtkam. View Menu Gives options for previewing photos before downloading them from the camera. View->View Thumbnails This is the same command as the checkbox on the main gtkam window. It allows the user to select whether thumbnails of the photos are displayed, or just the file names. View->Zoom In Enlarges the thumbnails. View->Zoom 100 Returns the thumbnails to default size. View->Zoom Out Reduces the thumbnails. Select Menu Select->All Selects all pictures in the camera. Select->Inverse Inverts the selections already made so that previously unselected images are now selected, and previously selected images are now unselected. Select->None Undoes all selections so that no images are selected. Camera Menu Camera->Add Camera... Opens a window to allow the user to define the camera and interface being used. "Simple" Select Camera Dialog. "Enhanced" Select Camera Dialog. Dialog for explicitly adding a path to the port to which the camera is attached. Help Menu Help->Debug... Opens the logging window which allows the user to select the type of messages to log. Error causes the logging of any error messages. Verbose Increases the amount of information being logged. (I can't see what effect this has. - mjr) Debug Causes the logging of progress reports as the software communicates with the camers. Data Causes the logging of all data being transferred from the camera. This will generate huge quantities of hexadecimal informa- tion. Save As... opens a dialog to allow the user to save the information logged in the debug window. Close Closes the debug window Help->About... Opens the about gtKam window. This gives the current version, author credits, and contact information. Right Click (over directory pane) Menu Right Click->Upload File Opens a dialog to identify an image file for uploading to the camera. Right Click->Make directory Opens dialog to create new directory. Right Click->Remove directory Opens a dialog to remove (delete) an existing folder (directory). Right Click->Capture Opens a window to allow the user to trigger the camera to acquire an image if the camera and its gphoto2 driver supports this fea- ture.. (This feature is not available on my camera, so I would appreciate some input on this item. -mjr) Right Click->Preferences Camera configuration tab. Driver configuration tab. Right Click->Summary Displays a window with information about the camera and its memory. Right Click->Manual I'm not sure what this should contain. Anyone? - mjr FIXME: need useful image Right Click->About Displays a window with information about the camera driver and its authors. This should include contact information for the maintainers of the drivers for your camera. Right Click->Select Camera Opens the Add Camera dialog. Right Click->Remove Camera Removes the camera from the directory pane. Right Click (over list pane) Menu Right Click->View with...->Built-in viewer Downloads the image under the cursor and displays it in a new window. The window automatically resizes the image to fill the window. Right Click->Info Presents file name, type, size, date and permissions information about the image under the cursor. Right Click->Save Downloads the image under the cursor and opens a dialog to allow it to be saved to the computer. Right Click->Delete Opens a dialog to allow the user to delete the image under the cursor. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-------------------------------+-----------------------------+ |ATTRIBUTE TYPE^ATTRIBUTE VALUE | | +-------------------------------+-----------------------------+ |Availability^SUNWgnome-camera | | +-------------------------------+-----------------------------+ |Interface stability^Volatile | | | | | +-------------------------------+-----------------------------+ AUTHOR
The gPhoto2 Team. Man page edited by Michael J. Rensing <michael.rensing@shaw.ca>. August 2002 GTKAM(1)
All times are GMT -4. The time now is 11:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy