this has been asked i guess but my question is a bit different , i just want to add suppose 'by walter' as suffix or Prefix of files ,
this has been asked i guess but my question is a bit different , i just want to add suppose 'by walter' as suffix or Prefix of files ,
find is your friend. use the -exec option and you'll be good. man is your friend.
Sorry, find will need some tweaking to work. Better use a for loop:
Code:cd /home/mydir; for i in *; do mv ${i} prefix_${i}_suffix; done
Last edited by aromo2; September 2nd, 2016 at 02:39 PM.
Bookmarks