Created
April 4, 2017 06:15
-
-
Save flagoworld/b013c0e487fc5003fe0794acd37f2761 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b=$(basename "$1") | |
echo -n "http://example.com/uploads/$b" | pbcopy | |
for i | |
do | |
b=$(basename "$1") | |
mv "$i" "/path/to/Uploads/$b" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment