10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello Unix experts:
I have dir where few files are there, i want to sort these files and write the output to some other file but i need filenames with filepath too
eg:
i have filenames like
010020001_S-FOR-Sort-SYEXC_20171218_094256_0004.txt
so i want to sort my files on first 5 fields of... (2 Replies)
Discussion started by: gnnsprapa
2 Replies
2. Shell Programming and Scripting
Entry level scripter. Any help appreciated.
for file in *; do rename '4321_' '' $file ; done
Doesn't work for files with spaces in between
FOr eg
4321_1004.dat is renamed to 1004.dat but
4321_1004 2008.dat stays the same (1 Reply)
Discussion started by: davnavin
1 Replies
3. Shell Programming and Scripting
Hi,
I have little experience on Shell scripts, I searched the forum but couldn't make out what I want.
I want to rename a set of files to a new file name
a_b_20100101
c_d_20100101
.......................
......................
I want to rename the files to
a_b_20140101... (5 Replies)
Discussion started by: JaisonJ
5 Replies
4. Slackware
Hi:
mkisofs -graft-points -rational-rock -joliet -joliet-long -full-iso9660-filenames -iso-level 2 -o /tmp/image.iso STORE1/=/almacen/strauss
In /almacen/strauss there are filenames containing not only spaces but accented characters as well. I burned the image to DVD, with the result that all... (2 Replies)
Discussion started by: stf92
2 Replies
5. Shell Programming and Scripting
hello
does someone want to help me for this one ?
i want to rename files & a folder according to the similarities in filenames
for example :
the file with the good name
cglogo tougl1953 dgmel bogd 01 -- ttgductoog ggdté gollogtd.ext1the others files needed to be renamed
cglogo... (5 Replies)
Discussion started by: mc2z674gj
5 Replies
6. Shell Programming and Scripting
Hi,
I've got files with names like this :
_Some_Name_178_HD_.mp4
_Some_Name_-_496_Vost_SD_(720x400_XviD_MP3).avi
Goffytofansub_Some name 483_HD.avi
And iam trying to rename it with a regular pattern. My gola is this :
Ep 178.mp4
Ep 496.avi
Ep 483.avi
I've tried using sed with... (8 Replies)
Discussion started by: VLaw
8 Replies
7. Shell Programming and Scripting
Hey folks
My problem is simple. For my first stash of movies, I used a naming convention of YEAR_MOVIE_NAME__QUALITY/ for each movie folder. For example, if I had a 1080p print of Minority Report, it would be 2002_Minority_Report__1080p/.
The 2nd time around, I changed the naming convention... (4 Replies)
Discussion started by: ksk
4 Replies
8. Shell Programming and Scripting
Hi,
To start, I am using a bash shell on a G4 powerbook running Leopard. I am attempting to write a shell script that will automate the processing of satellite imagery. All the filenames are of the following construction:
A2008196000500.L2
where A indicates the sensor, the next four... (6 Replies)
Discussion started by: msb65
6 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I need to rename the multiple file names.
I need to rename for example as follows
bas100e1_jun05 to FLAT1
bas100e2_jun05 to FLAT2
bas100e18_jun05 to FLAT18
Please not that I can cut_jun05 from the filename. Madhan had helped with a similar kind of script. But this is a new... (4 Replies)
Discussion started by: shashi_kiran_v
4 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
I need to rename the file names.
I need to rename for example as follows
file001 to flat1
file100 to flat100
Thanks
Shash :confused: (7 Replies)
Discussion started by: shashi_kiran_v
7 Replies