/ Published in: Bash

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# command: rename <options> 's/<old>/<new>/ <where> # first testing with param -n rename -n 's/(\w+)\s(.*)\.pdf/$1\.pdf/' * # placeholder $1 is the first group matched, etc # execute with verbose rename -v 's/(\w+)\s(.*)\.pdf/$1\.pdf/' *
Comments
