shell batch file rename


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ls foo*.jpg | awk '{print("mv "$1" "$1)}' | sed 's/foo/bar/2' | /bin/sh

Report this snippet


Comments


You need to login to view comments.