04-21-2010
Unix Command to rename a file in a zipped folder
Hi,
I am into automation work. Is there any UNIX command to rename a file in a zipped folder, without unzipping it..???
Thanks in advance..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All
Can some one help me out.
Please tell the unix command to cound the number of files in a folder.
Ungent please#
Thanks manas (6 Replies)
Discussion started by: manas6
6 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
Please help me out
1) Command to find the disk usage in GB. I know that du -k will give in kilobites.
2) How to find the Biggest file/folder in a given set of files/folders.
Thanks in advance
Regards,
Manas (8 Replies)
Discussion started by: manas6
8 Replies
3. Shell Programming and Scripting
Hi everyone.
I'm in need of a solution where i need to rename a folder to a name that's inside an XML file in that folder.
OS is Ubuntu 9.10 with Gnome.
I've tried using grep, sed and xpath, but can't seem to find a solution.
This is the simplified folder structure:
FOLDER-NAME
-... (4 Replies)
Discussion started by: CoolCow
4 Replies
4. UNIX for Advanced & Expert Users
I am trying to grab a folder and all the folders and files underneath it and send it from one computer to another. I basically want to compress the whole folder into a tar, tgz, or zip file so that it can be sent as one file. is there a command to compress a folder and all its contents into a tar... (7 Replies)
Discussion started by: kane4355
7 Replies
5. Shell Programming and Scripting
Hi everyone,
when I try to copy *.gz files run cp within the correct source folder it works as follow:
Source folder = C:/Documents and Settings/user/Recent papers/2771/
Destination folder = C:/Documents and Settings/user/My documents/1532/temp
cp *.gz "C:/Documents and Settings/user/My... (2 Replies)
Discussion started by: cgkmal
2 Replies
6. Shell Programming and Scripting
Dear All,
Please help !
i ham having 300 file with E.G. PMC1_4567.arc in seq. like PMC1_4568.arc,PMC1_4569.arc ...n and so on.. i want all those file to be rename like PMC_4567.arc ,PMC_4568.arc .. mean i want to remove 1 from first file name ..
pls help.. (6 Replies)
Discussion started by: moon_22
6 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I have a unix file which is ceated with variable name, for example:
FIRST_FILE_3456 and next time it will be FIRST_FILE_3457 and so on.
I need to rename this file like PREV_FIRST_FILE_XXXX where XXXX is the variable part of the file FOR Example 3456 or 3457, etc.
Please help to... (4 Replies)
Discussion started by: Mohammad T Khan
4 Replies
8. Shell Programming and Scripting
Hi All,
My requirement is as follows:
A file (say abc) will be having list of the .txt file names. I need to read this abc file line by line and rename the .txt file names inside it and move them to other folder/path.
Eg:
abc
-------
file1.txt
file2.txt
file3.txt
Output (should... (1 Reply)
Discussion started by: pavan.yadalla
1 Replies
9. Windows & DOS: Issues & Discussions
Hi all,
I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual moving. I use putty to connect to server. I couldnt find any help on this topic. Should i use... (3 Replies)
Discussion started by: sherin22
3 Replies
10. Shell Programming and Scripting
hi guys
i have a group of directory like these
p1( 15 - 16 )
p2( 17 -15 )
p1 ( 14 - 20 )
p2 ( 13 -17 )
..
.
.
directories contain numbers represent time
i want to rename all directories and change all numbers in directories' name .
for example
p1( 15 -16 ) will change to... (16 Replies)
Discussion started by: mhs
16 Replies
LEARN ABOUT DEBIAN
mapivi
MAPIVI(1) User Contributed Perl Documentation MAPIVI(1)
NAME
MaPiVi - Picture Viewer and Organizer
MaPiVi means Martin's Picture Viewer
DESCRIPTION
JPEG picture viewer / image management system with meta info support written in Perl/Tk for UNIX, Mac OS X and Windows.
I wrote mapivi just for me, because I needed a image viewer which is also able to display and edit meta infos of JPEG pictures, like EXIF,
JPEG comments and IPTC/IIM infos. As hobby photographer I am mostly interested in the EXIF infos (like timestamp, camera model, focal
length, exposure time, aperture, etc.) and the possibility to add and edit IPTC infos and JPEG comments. But I also want to rename
pictures according to their internal date/time and to do lossless rotation, lossless cropping and other stuff.
mapivi can be found here: http://mapivi.de.vu (link to the mapivi site) or if this won't work: http://herrmanns-stern.de (real site)
http://sourceforge.net/projects/mapivi (download)
I would be happy to receive some feedback (e.g. on which os mapivi works), bugfixes, patches or suggestions about mapivi.
Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Martin Herrmann All rights reserved.
Feel free to redistribute. Enjoy!
USAGE
mapivi [-i ] [file|folder]
to display a certain picture use:
mapivi picture.jpg
mapivi will generate and display all pictures in the folder as thumbnails. The given picture will be displayed in original size or zoomed
to fit the window (picture frame).
to view a folder containing pictures use:
mapivi ~/pics/
mapivi will generate and display all pictures in the given folder as thumbnails.
to start mapivi with the import wizard
mapivi -i
KEYS
mapivi is controlled by the following keys: see also menu Help->Keys (the list is generated from the source code and is always actual.)
Space, Page-Down
Show the next picture in folder
BackSpace, Page-Up
Show the previous picture in folder
Escape
Iconify MaPiVi (Boss-Key :)
Cursor-up, -down, -left, -right
Scroll the picture, if it's bigger than the Canvas
Shift-Cursor-up, -down, -left, -right
Move to the border of the picture, if it's bigger than the Canvas
q Quit MaPiVi
For all other key bindings, see the menu Help->Keys
MOUSE
Try the right mouse button in the thumbnail picture list for a popup menu to copy, move, rename, rotate or delete pictures, to open a new
folder, to add or remove comments or to exit MaPiVi.
Use the buttons to add, edit or remove JPG comments, or to display all EXIF infos.
If you hold the mouse over the buttons or labels a help message will pop up (or at least at most of them :).
perl v5.10.0 2009-04-03 MAPIVI(1)