Skip to content

Instantly share code, notes, and snippets.

@mythmon
Created December 6, 2012 01:19
Show Gist options
  • Save mythmon/4221108 to your computer and use it in GitHub Desktop.
Save mythmon/4221108 to your computer and use it in GitHub Desktop.
DIRNAME=foo
echo <<EOM
mkdir $DIRNAME
cd $DIRNAME
put *
exit
EOM | ftp server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment