Created
April 11, 2011 18:42
-
-
Save mrampton/914032 to your computer and use it in GitHub Desktop.
Simple one line shell command to create symlinks for Dropbox -> iTunes/Podcasts folder
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
#!/bin/bash | |
HOME=/Users/username #replace username with your actual username | |
ITDIR=$HOME/Music/iTunes/iTunes\ Media/Podcasts/ | |
DBDIR=$HOME/Dropbox/Podcasts/ | |
rm -rf $DBDIR/* find “$ITDIR” -type f -size -39999k -print0 | xargs -0 -I file ln -s file $DBDIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment