All Questions
3 questions
1
vote
1
answer
80
views
Compare name of files to a column in a table and if a correspondence is found rename it according to another column
I have an extensive set of files in a directory (in bash) that are named (inconveniently) as follows:
COMMONSTUFF_X_Y_**VARIABLE-IDENTIFIER**_COMMONSTUFF
I also have a table in which one column ...
1
vote
2
answers
1k
views
Rename all spaces in image file names inside html php files
Inside different htm.gz, html.gz and php.gz web files I have images and the ones in .jpg format have name with space instead of "-", but in /images/ directory where all images are located they have "-"...
2
votes
2
answers
487
views
Rename files in bash script
I am writing a script to rename my files, The current syntax for filename is program 1.c and I want to change this to cprogram-program1.c.
I am unable to get this format. Few conditions for ...