Skip to content

Instantly share code, notes, and snippets.

@hagmonk
Created January 26, 2009 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hagmonk/52953 to your computer and use it in GitHub Desktop.
Save hagmonk/52953 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Quite often I buy some music at home, then want to transfer it to work.
# This command is what I use to find m4a tracks created in the last day,
# and pull them to my work machine.
ssh username@domain "cd /Volumes/Media/iTunes && find . -mtime -1 -name "*.m4a" | tar -T - -cf -" | tar xf -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment