Created
April 16, 2015 22:41
-
-
Save dcvezzani/4e210993c2a0b620cdec to your computer and use it in GitHub Desktop.
move files to a new location; leave redirect behind
This file contains hidden or 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
base_dst_path="/Volumes/Extra/dave/downloads" | |
for file in \ | |
BW-1161.exe milkallergy-companion-and-cookbook.pdf iPhoneConfigUtility.dmg Screenhero.zip iPhotoLibraryUpgrader.dmg join.me.zip | |
do | |
#mv $file $base_dst_path | |
ln -s $base_dst_path/$file | |
#echo -e "# file was moved on "$(date +"%Y-%m-%d %H:%M:%S")"\nopen \"$base_dst_path/$file\"" > $file.txt | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
trying to clean up my hard drive to make more room and I want to leave artifacts behind that a search could hit and point to the new location