Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for old in ./images*.png; do
- new=$(echo $old | sed -e 's/\.png$/test.png/')
- mv -v "$old" "$new"
- done
- for old in ./240x320jpg_72dpi/*_h.jpg; do
- \ new=$(echo $old | sed -e 's/\_h.jpg$/.jpg/')
- \ mv -v "$old" "$new"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement