sed -i 's|http:|https:|g' *.html
or find
find . -name "*.html" -exec sed -i 's|http:|https:|g' {} \;
sed -i 's|http:|https:|g' *.html
or find
find . -name "*.html" -exec sed -i 's|http:|https:|g' {} \;
sudo apt-get update sudo apt-get install imagemagick -y
Resize to either height or width, keeps proportions using ImageMagick
cd /path/to/output
find </path/to/images> -iname '*.jpg' -o -iname '*.png' -exec convert \{} -resize WIDTHxHEIGHT\> \{} \;
df -hRun from remote computer
sudo dd if=/dev/sda | gzip -1 - | ssh user@local dd of=image.gzRun from local computer
sudo ssh user@remote "dd if=/dev/sda | gzip -1 -" | dd of=image.gz
ssh in another terminal and ls -l the file to see what it's size is.pv to monitor the progress of a large dd operation, for instance, for the remote example above, you can do:$ dd if=/dev/sda | gzip -1 - | pv | ssh user@local dd of=image.gz
dd and it will print stats. Something like: $ pkill -USR1 dd