how to use wildcards in krename?
Asked by
quixote
I'm using krename within krusader to recursively rename sets of image files. The gallery program I'm using wants thumbnails named "TN-filename.png". I have "filename.png"
I thought I could do the following in the multi-rename window:
Find: *.png Replace: TN-*.png
But * doesn't seem to mean anything to krename.
Is there an easy way to do this? Possibly using a shell script? I tried: [code]find . -type f -name '*.png' | while read PNG do for file in '*.png'; do mv "$file" "TN-$file"; done
[/code] but I get the error [code]bash: read: `*.png': not a valid identifier
[/code] and nothing I do seems to fix it. :(
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu krename Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Selene ToyKeeper
- Solved:
- Last query:
- Last reply:
To post a message you must log in.