My folder is /images/
. There are .png
, .gif
and .jpg
images in this folder. How do I change permissions of specific file extension .jpg
to 644 under the folder via SSH?
Connect to the remote computer with ssh and then execute this command may work:
find /images/. -name "*.jpg" | xargs chmod 644
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With