10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a few hundred text files that are currently numbered files. I would like to rename each one with the text from the first line in the file. I would prefer this is perl script rather than a one liner as it wil be after many alterations to the file via an existing script. Any help would be... (1 Reply)
Discussion started by: GWhizz
I'm manipulating a batch of about 2,000 HTML files. I just need to make some small changes, but to all the files at once.
For example, I want to delete the lines that have "embed_music" in all the files, or change all instances of the word "Paragraph" to "Absatz".
This is my... (2 Replies)
Discussion started by: pxalpine
3. Shell Programming and Scripting
I've got files with names like this :
Goffytofansub_Some name 483_HD.avi
And iam trying to rename it with a regular pattern. My gola is this :
I've tried using sed with... (8 Replies)
Discussion started by: VLaw
4. Windows & DOS: Issues & Discussions
I have files existing with same names in the folders with date as display below
c:\2010-09-10 <==== folder
c:\2010-09-09 <==== folder
c:\2010-09-08 <==== folder
... (5 Replies)
Discussion started by: jville
5. UNIX for Dummies Questions & Answers
I've got 75 mp3s that have the word '…mission' in their filename.
They are all in this format:
…mission bla1 bla1.mp3
…mission bla2 bla2.mp3
…mission bla3 bla3.mp3
I would just like to mass replace '…mission' by 'Emission'; basically replace '…' with 'E'. The rest of the... (10 Replies)
Discussion started by: Kingzy
6. Shell Programming and Scripting
Basically, I have a huge amount of files (ripped audiobooks) that all have the same garbage in their filenames. I'm wondering how to go about writing a bash script to mass rename them. Example filenames as they stand now:
The First CD - 1x01 - Title 1.mp3
The First CD - 1x02 - Title 2.mp3... (4 Replies)
Discussion started by: audiophile
7. UNIX for Dummies Questions & Answers
Hi again. Sorry if it seems like I'm spamming the boards a bit, but I figured I might as well ask all the questions I need answers to at once, and hopefully at least get some.
I have installed Solaris 10 on a server. The default text editors are there (vi, ex, ed, maybe others, I know emacs is... (4 Replies)
Discussion started by: EugeneG
Is it possible in VI to do a global change but take the search patterns and the replacement patterns from an external file ?
I have cases where I can have 100,200 or 300+ global changes to do. All the new records are inside a file and I must VI a work file to change all of them.
Also, can... (1 Reply)
Discussion started by: Browser_ice
9. Shell Programming and Scripting
Are there any sample scripts to change content like file paths, profile paths etc., from test version to production , instead of changing one by one, i would like to pass the in file (prod version/Test version) to convert to test or prod verions.
any help is appreciated!!
~R (1 Reply)
Discussion started by: terala
10. UNIX for Dummies Questions & Answers
Don't tell me DOS can do something UNIX can't do! I want to copy a number of files from one directory to another, and at the same time change the names. The name changes would be common, e.g., all files starting with the letter 'L' and ending in '30.NEW554', with the copied or new files also... (6 Replies)
Discussion started by: lwilsonFG