Advertisement
danielhilst

rename-pidstat-files-csi.sh

Sep 5th, 2014
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.12 KB | None | 0 0
  1. for s in *; do echo -n "mv $s "; echo $s | sed -e 's/ps\([0-9]\{2\}\)\([0-9]\{2\}\)\([0-9]\{4\}\)/ps\3\2\1/'; done | sh -x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement