Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Transfer from iPod using the 'find' command UNIX
I have seen quite a few applications, etc. that transfer music from your iPod to your Mac. Rather use an application, I have found the following find command to do the same thing. There are two prerequisites you need. Both are defaults so you should have to do nothing. One, all the file formats searched for must be set to be opened with iTunes. Two, in iTunes' Preferences under the Advanced tab, you should have the check box "Copy files to iTunes Music folder when adding to library" checked. Like I said, these are defaults. So you should be OK to run the following find command:
find /Volumes/iPod_name -type f \( -name \*.mp3 -o -name \*.m4a -o \
-name \*.m4b -o -name \*.m4p -o -name \*.wav -o -name \*.aiff -o \
-name \*.aif -o -name \*.aa \) -exec open "{}" \;
Replace iPod_name with the name of your iPod in the above command.

[robg adds: I haven't tested this one.]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[57,762 views]  

Transfer from iPod using the 'find' command | 12 comments | Create New Account
Click here to return to the 'Transfer from iPod using the 'find' command' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Transfer from iPod using the 'find' command
Authored by: kirkmc on Apr 14, '05 11:44:59AM

It's quicker and easier to cd to the hidden iPod_Control folder, then drag all its sub-folders to the iTunes library, which, if iTunes is set to copy, will do the same thing.

---
Read my blog: Kirkville -- http://www.mcelhearn.com
Musings, Opinion and Miscellanea, on Macs, iPods and more



[ Reply to This | # ]
Transfer from iPod using the 'find' command
Authored by: ngb on Apr 14, '05 12:11:13PM
I think what the commenter means is that in Terminal you can type the following to open the hidden iPod Music folder in the Finder:

open /Volumes/YourIPodName/iPod_Control/Music
Unfortunately, the numbered music folders inside still remain hidden. Changing the command to
open /Volumes/YourIPodName/iPod_Control/Music/*
will open every music folder, but selecting and dragging 50 folders worth of music files can also be a pain. Similar results to the initial hint can be had with less typing by doing a cp of everything in /Volumes/YourIPodName/iPod_Control/Music/*/*. Alternately, you could also do the following:
open -a iTunes /Volumes/YourIPodName/iPod_Control/Music/*/*
Nate

[ Reply to This | # ]
Transfer from iPod using the 'find' command
Authored by: adrianm on Apr 14, '05 02:01:28PM
If your shell is zsh, then:

open /Volumes/YourIPodName/iPod_Control/Music/**/*(.)
to open every normal file (ie. the tunes).

open /Volumes/YourIPodName/iPod_Control/Music/**/*(.)
will open all the directories.

Not quite sure why you'd want to do this though :-)

Just highlighting the splendour of zsh, really.

[ Reply to This | # ]

Transfer from iPod using the 'find' command
Authored by: adrianm on Apr 14, '05 02:04:24PM
Cursed copy/paste!

Last example should have been:


open /Volumes/YourIPodName/iPod_Control/Music/**/*(/)
to open the directories.

open -a iTunes /Volumes/YourIPodName/iPod_Control/Music/**/*(.)
to force them to open in iTunes.

[ Reply to This | # ]
Transfer from iPod using the 'find' command
Authored by: simonpie on Apr 14, '05 06:02:02PM
Just highlighting the splendour of zsh, really.

Funny.

[ Reply to This | # ]
Transfer from iPod using the 'find' command
Authored by: kainjow on Apr 14, '05 12:42:50PM
Why not just use Senuti? It's free, it's a GUI... what more can you ask for? Sure beats using the Terminal in my opinion...

[ Reply to This | # ]
Keep Senuti on your iPod
Authored by: lullabud on Apr 14, '05 02:09:19PM

I just keep Senuti on my iPod so it's always handy to use when I want to copy songs. I'm a terminal junkie (no pun intended) but it's actually much easier to double-click on the iPod then double-click on Senuti than it is to open the terminal and type out those long commands.



[ Reply to This | # ]
Transfer from iPod using the 'find' command
Authored by: bimtob on Apr 16, '05 01:23:29PM

I've used PodUtil since I've had my ipod, and it works great.
My ipod is fat32 formatted and I have both the Windows and Mac version of podutil on the ipod.
I can use it on my XP desktop and my ibook, and I can share with everybody!
Just run podutil directly from the ipod drive.



[ Reply to This | # ]
Transfer from iPod using the 'find' command
Authored by: blubbernaut on Apr 14, '05 09:19:59PM

When using either Senuti and iPodRip and an iPod Shuffle, you need to let iTunes come up with the message "This iPod is associated with another computer blah blah" and leave it there (don't click yes or no). As soon as you click no, iTunes unmounts your shuffle and Senuti and iPodRip cant see it then.



[ Reply to This | # ]
Transfer from iPod using the 'find' command
Authored by: rexroof on Apr 26, '05 12:31:44PM

I've found all of the meta info/ID3 tags are stripped from the mp3 files on my ipod. this basically makes them useless to me if I copy them into itunes.

in my limited playing with an iPod Shuffle, it doesn't strip this info from the mp3s, so it would work with that.

do other people not find this to be the case?



[ Reply to This | # ]
Transfer from iPod using the 'find' command
Authored by: alali on Feb 27, '09 06:49:43PM
Transfer from iPod using the 'find' command
Authored by: bglnelissen on Nov 01, '10 07:58:26AM

I prefer the use of SetFile for showing those invisible folders. This is a script i wrote to show the hidden Music folder and it's contents.

<code>
#!/bin/sh

# iPodMusicFinder.sh
#
#
# Created by Bastiaan Nelissen on 31-10-10.
# Copyright 2010 Bastiaan Nelissen. All rights reserved.

# Script shows music files on iPod to copy to iTunes.
# Setup
name=iPodMusicFinder;
chmod 755 ./.SetFile
homedir=`dirname $0`
clear
# Say hello
echo "Welcome to $name"
echo "B.Nelissen - Winter 2010"
echo "This script makes it possible to backup your iPod music"
echo ""
# Startup
# open -a iTunes
echo "We need acces to the iPod-filesystem:"
echo "1. - Start iTunes and connect your iPod."
echo "2. - Select your iPod in the 'Devices' section."
echo "3. - Select the 'Summary' tab."
echo "4. - Select 'Enable disk use'."
echo "5. - 'Apply'."
echo ""
echo "Hit 'Enter' to continu..."
read
clear
# Locate device
echo "Locate your iPod-icon (Desktop) and drag her over here... (Hit 'Enter')"
echo ""
read address
# Make the right folder visible
if [ -d "$address" ];then
echo "Mkay..."
echo "Now I will take over..."
"$homedir"/SetFile -a v "$address/"*
"$homedir"/SetFile -a v "$address/iPod_Control/Music"
"$homedir"/SetFile -a v "$address/iPod_Control/Music/"*
open "$address/iPod_Control/"
echo "Drag your 'iPod/iPod_Control/Music' folder into iTunes."
echo "Thats it."
else
echo "I said:"
echo "Locate your iPod icon and drag her over here..."
echo "Quitting..."
fi
exit
</code>

Edited on Nov 01, '10 08:01:17AM by bglnelissen



[ Reply to This | # ]