Tagged Questions
1
vote
4answers
397 views
How to rename files with sed and csv
I'm new with Linux, sed, and awk but I don't mind challenging myself on new ideas. That being said, I understand the purpose and how to use rename and sed for a common event such as adding a $date or ...
2
votes
1answer
159 views
Rename beginning of file name using specific text in the file itself
I have many files in directory (file1.txt, file2.txt, ...)
Every files contains bunch of lines. One of the line is specific text thetext followed by random number just like thetext56, thetext21, etc.
...
2
votes
2answers
156 views
Move one file at a time based from specific number in the files
Based from this question, The HTML files date format has been changed. All of the HTML files have the date such like below:
20110730dateishere
dateishere is intentionally added by me in the files, ...
7
votes
4answers
6k views
Copy/rename multiple files using regular expression (shell script)
I have a collection of files matching a pattern such as 'assignment02.cc', 'assignment02.h', 'assignment02.txt', etc. I would like to copy/rename these files into 'assignment03.cc', 'assignment03.h', ...