Difference between revisions of "Data wrangler"

From Wasya Wiki
Jump to: navigation, search
(Created page with " == bulk rename files == rename -v 's/image//' ./*.png")
 
 
Line 3: Line 3:
  
 
   rename -v 's/image//' ./*.png
 
   rename -v 's/image//' ./*.png
 +
 +
  for f in *.png; do
 +
    mv -- "$f" "${f#image}"
 +
  done

Latest revision as of 00:30, 8 February 2024

bulk rename files

  rename -v 's/image//' ./*.png
 for f in *.png; do
   mv -- "$f" "${f#image}"
 done