[BASH][HELP] Can someone help me write a script to rename files? - Programming On Unix
Users browsing this thread: 2 Guest(s)
|
|||
Okay,
but find . -maxdepth 1 -iname "some regex" will only find the names of files matching the regex right? the only files in the folder are the 22 files, with nothing else. I think that I don't need to use the "find" command. An if loop with a condition that the file ending in .avi should suffice. The hard part is for me how to extract the numbers from the string. |
|||
Messages In This Thread |
[BASH][HELP] Can someone help me write a script to rename files? - by neo1691 - 06-09-2014, 05:22 AM
RE: [BASH][HELP] Can someone help me write a script to rename files? - by venam - 06-09-2014, 05:45 AM
RE: [BASH][HELP] Can someone help me write a script to rename files? - by neo1691 - 06-09-2014, 06:22 AM
RE: [BASH][HELP] Can someone help me write a script to rename files? - by z3bra - 06-09-2014, 07:42 AM
RE: [BASH][HELP] Can someone help me write a script to rename files? - by neo1691 - 06-09-2014, 09:32 AM
RE: [BASH][HELP] Can someone help me write a script to rename files? - by z3bra - 06-09-2014, 01:35 PM
RE: [BASH][HELP] Can someone help me write a script to rename files? - by neo1691 - 06-09-2014, 01:38 PM
|