Batch recursive permission change with find and chmod
bash |copy code |?
1 #change directories permissions2 find / -type d -exec chmod 755 {} \;3 4 5 #change files permission
Batch recursive permission change with find and chmod
bash |copy code |?
1 #change directories permissions2 find / -type d -exec chmod 755 {} \;3 4 5 #change files permission
How to batch resize images in linux with imagemagick
find / -type f -exec chmod 644 {} \;
This is a quick way of renaming a batch of files matching a reg exp in bash.
bash |copy code |?
1 for image in *.jpg; do convert "$image" -resize 250x250 "thumb.$image"; done