9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
rename *.txt *.txt.done
... (7 Replies)
Discussion started by: jhilmil
2. UNIX for Dummies Questions & Answers
I have 31 file as below.... dt_ref_med_merged_madt_h_19980101.nc
I want to rename it like...
How can I do it ? any suggestions ? I want to do it small... (5 Replies)
Discussion started by: mahesh shinde
3. Shell Programming and Scripting
I have a list of files in a folder with the same name ending (over 1000 files)
I want to change jpy to hhk
So the output will be:
jon3.hhk.jpeg... (3 Replies)
Discussion started by: kylle345
4. Shell Programming and Scripting
I have a folder that contains hundreds of file with a names
I need rename each of this file by adding "core_" in the begiining of each file such as
core_21.msa (4 Replies)
Discussion started by: Lucky Ali
5. UNIX for Dummies Questions & Answers
There are many files inside a directory and all are named like this "out_1".
The file names goes on itearation like out_2, out_3 etc....
Now i want to rename all the file names based on the text inside the file.
the text in all the files follow a pattern like it satrts... (4 Replies)
Discussion started by: arunmanas
6. UNIX for Advanced & Expert Users
Please can someone help.
We are being sent a directiory full of images.
The names of these images can vary in length and have spaces in them.
nn 999999 nnnnn nnnn nnnn nn nnn nnn nn nnnn.pdf
what we want to do is rename all the images. Take the first two fields nn 999999 and... (23 Replies)
Discussion started by: Dolph
7. Shell Programming and Scripting
I wanted to rename one file where filename contains space.. How can i rename in unix?
The file name is ABC XYZ.TXT
I wanted to rename this file as ABCXYZ.TXT.
Any help is greatly appreciated...
Regards. (4 Replies)
Discussion started by: govindts
8. Shell Programming and Scripting
I have a very urgent requirement here. I have to find all files in the specified directory but not in the sub directories(The directory name is stored in a variable) which are older than the current date as well as current time and rename it as filename_yyyymmddhhmmss.ext and move it into a... (7 Replies)
Discussion started by: ragavhere
9. Shell Programming and Scripting
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar