Re: Command line question.

2014-07-06 Thread Jonathan C. Cohn
Yes, but the error was too many arguments. If the source directory only has .mp3 files then you could try the recursive copy I believe the flag is a capital R but I would verify that in the man page. Best wishes, Jonathan On Jul 1, 2014, at 10:20 AM, Kjsc Radio wrote: > Anytime you are c

Re: Command line question.

2014-07-03 Thread 'Chris Blouch' via MacVisionaries
I think you've nailed the issue. Depending on how many files *.mp3 turns into the cp command can become really really long. I checked and getconf ARG_MAX returns 262144 or about 262K, which is quite a lot unless your file list is really long. The find trick is slower but breaks the work up into

Re: Command line question.

2014-07-01 Thread Barry Hadder
I believe you have given up on using Finder to quickly. In Finder, Press command-1 for icon view. Use the tab key and Voiceover will announce the name of the file selected. Press command-2 for list view and arrow through the list. Again, Voiceover announces the selection. You can also start ty

Re: Command line question.

2014-07-01 Thread Anders Holmberg
Hi! Thanks for clarifying this. I will try this out later. When the soccer has endded tonight. /A 30 jun 2014 kl. 17:53 skrev Tim Kilburn : > 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

Re: Command line question.

2014-07-01 Thread Littlefield, Tyler
This isn't an issue with the stack really, it's an issue with the argument list being to long. Try this: find -name "*.mp3" -exec cp "{}" /foo/bar On 7/1/2014 3:11 PM, Anders Holmberg wrote: Hi! No i want to move from a harddisk to another on the same mac. I could use normal finder commands but

Re: Command line question.

2014-07-01 Thread Anders Holmberg
Hi! No i want to move from a harddisk to another on the same mac. I could use normal finder commands but voiceover doesn't announce when files are selected. /A 30 jun 2014 kl. 11:33 skrev Sandi Jazmin Kruse : > well as i just said if he just use cp, over ssh, it would not work, as > a matter of f

Re: Command line question.

2014-07-01 Thread Kjsc Radio
Anytime you are copying something from your server to another server, use scp command if you are in SSH. SCP stands for, "secure copy. Jonnyboy! Iphones rock! > On 1 Jul 2014, at 9:29, DD wrote: > > > > Someone asked: > > "huh? i think i had a blonde moment there? that might work as well bu

Re: Command line question.

2014-07-01 Thread DD
Someone asked: "huh? i think i had a blonde moment there? that might work as well but sfpt would be more secure than just ftp right?" Yes and it works similar to ssh in doing a login. XB -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To

Re: Command line question.

2014-06-30 Thread Anders Holmberg
Hi! Sure it does. Thanks. /A 30 jun 2014 kl. 10:51 skrev Jason White : > Anders Holmberg wrote: >> I tried: >> cp *.mp3 /volumes/my audio disk/ > > If you use backslashes to quote the spaces in the name of the destination > directory, does it give a better result? > > It's possible there are to

Re: Command line question.

2014-06-30 Thread Tim Kilburn
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...

Re: Command line question.

2014-06-30 Thread Sandi Jazmin Kruse
huh? i think i had a blonde moment there… that might work as well but sfpt would be more secure than just ftp right? On 6/30/14, DD wrote: > > > Someone wrote: > > "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

Re: Command line question.

2014-06-30 Thread DD
Someone wrote: "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." Use sftp to transfer files, or just ftp if it is between two of your own computers. There is a man page for both, I prefer sftp for it

Re: Command line question.

2014-06-30 Thread Sandi Jazmin Kruse
well as i just said if he just use cp, over ssh, it would not work, as a matter of fact he can beat at it till the cow comes home. Of course i am taking for granted that he ***wanna*** move the stuff from one computer too another, so scp that is . just found this . sandras-MacBook-Air:~ sandra$ man

Re: Command line question.

2014-06-30 Thread Jason White
Anders Holmberg wrote: > I tried: > cp *.mp3 /volumes/my audio disk/ If you use backslashes to quote the spaces in the name of the destination directory, does it give a better result? It's possible there are too many arguments on the command line - OS X may have a much more restrictive limit tha

Re: Command line question.

2014-06-30 Thread Sandi Jazmin Kruse
hi, it is not cp or as you call it copy that you need but "scp" note the quotes that i made round the word. basically as i recall it it is a long time ago i used it you gotta write something like this. scp *.extension, root@ipadress/place/where.you.want.thefiles/ if you want more information as you