Hi Anders, You're not specific as to whether the copy is going between two computers or simply between mounted volumes on the same computer. If on the same computer, your command should work fine, as long as, like Jason mentioned, you've either quoted out or back-slashed out the spaces. So...
cp *.mp3 /volumes/my\ audio\ disk/ or... cp *.mp3 /volumes/'my audio disk''/ The back-slash tells the Terminal to not count the "space" after it as an argument separator. Similarly, the double or single quotes will can be used when arguments have a space so that everything in quotes is counted as a single entity. If you meant between computers, then the others suggestions would work as suggested. Later... Tim Kilburn Fort McMurray, AB Canada On Jun 30, 2014, at 1:45 AM, Anders Holmberg <[email protected]> wrote: > Hi! > I'd thought this would work but maybe it doesn't. > I have ssh into my mac from a linux box as root. > Now i want to copy a bunch of mp3-s or move them from one disk to another > with mv or cp. > I tried: > cp *.mp3 /volumes/my audio disk/ > I got the following error. > :sh: /bin/cp: argument list to long. > Please help and i promise i will read the manpage for cp. > /A > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/macvisionaries. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/macvisionaries. For more options, visit https://groups.google.com/d/optout.
