commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Require lftp and this script to work (adapt path and credentials as needed):
echo $'#!/bin/bash\n# coded by sputnick under GPL 20101007\nlftp -u user,passwd [email protected] -e "$(cat)"' > /PATH/TO/ftp-latest; chmod +x !$
There are 3 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.