Shell script to download from an FTP site

Single command to download from any FTP site :

wget ftp://user:[email protected]/path/file.ext

Download all the wallpapers from Gnome art :

#!/bin/sh

wget ftp://anonymous:[email protected]/pub/GNOME/teams/art.gnome.org/ba...

Name it wallpaper.sh , chmod 777 then ./wallpaper , you get all the wallpapers downloaded to the pwd :)

Say you want only 1280x1024.jpg size wall papers then change the last part to /*1280x1024.jpg

That's it , the ultimate power of shell exploited !!

Share this