[03:38] <philipballew> Anyone know java that can help me with an equals method?
[05:07] <Zauberberg> Complete beginner here. I have an external drive with mp3's scattered in an ocean of disorganized directories. I found a command on a website that will supposedly help me copy all mp3 files from the external drive to a folder I specify. The command is find /media/myusername/mydrivename -iname -type f “*.mp3″ | xargs -I ‘{}’ mv {} /mymusicfolder
[05:08] <Zauberberg> However, I get this error. "paths must precede expression: f"
[05:08] <holstein> i would probably do it by hand just to be sure
[05:08] <holstein> you can use the *.mp3 command several times though
[05:09] <Zauberberg> According to this site, it should work fine. http://www.cyberciti.biz/tips/howto-linux-unix-find-move-all-mp3-file.html
[05:10] <holstein> Zauberberg: i would ask the author of the scritp
[05:10] <holstein> script*
[05:10] <holstein> http://askubuntu.com/questions/30330/paths-must-precede-expression-error-when-trying-to-find-all-jpg-files-in-the-c seems relevant
[05:12] <Zauberberg> It would seem the answer to that person's problem was to use quotations over the "*.jpg*. What I posted above does that. The reason I do not want to do it by hand is because it would take a very long time. One of the appeals of trying Linux for me is the idea that I can supposedly do things more efficiently.
[05:14] <holstein> you could ask on twitter https://twitter.com/nixcraft
[05:15] <holstein> Zauberberg: can you run the seperate parts, and see where the error is?
[05:16] <holstein> Zauberberg: what is the path? maybe you are not using the correct path for /media/home/whatever
[05:17] <Zauberberg> I double checked the paths to make sure they were correct. I'm not sure what you mean by running the separate parts.
[05:19] <holstein> http://srynot4sale.wordpress.com/2008/07/07/find-paths-must-precede-expression/ shows single dash quotes
[05:19] <holstein> i would cd where they are and cp *.mp3
[05:21] <holstein> Zauberberg: this looks more like it http://unix.stackexchange.com/questions/44068/use-a-shell-variable-to-execute-a-comand
[05:21] <Zauberberg> I just tried it with single quotes but I got the same error. Let me check that last link.
[05:22] <holstein> interpretting the | as a path... id go with that
[05:23] <holstein> looks plausible from what i see above
[05:26] <Zauberberg> I'm afraid I was not able to understand that page. I will try the Ubuntu manual.
[05:26] <holstein> Zauberberg: i would just go to a linux book
[05:27] <holstein> you are not trying to do anything ubuntu specific.. should work in any commandline
[05:27] <holstein> the way i read that, the pipe gets seen as a path...
[05:27] <Zauberberg> I don't have any Linux books. Can you recommend any online Linux guides?
[05:28] <holstein> i would start witnthe find man pages and look at the other references for the other commands
[05:28] <holstein> Zauberberg: you can use askubuntu
[05:29] <holstein> Zauberberg: i would tweet that author i linked and ask
[05:29] <Zauberberg> I would but I'm not a twitter user.
[05:30] <philipballew> holstein, knows what he is talking about
[05:30] <Zauberberg> I didn't know it was a script someone created. I figured it was just basic functionality in Linux to do something like find mp3s on a drive and copy them to folder x.
[05:30] <holstein> Or send an email us at vivek@cyberciti.biz
[05:30] <Zauberberg> I will need to read up on things more and try doing things like that when I am more experienced.
[05:30] <Zauberberg> I searched for the man page and it seems very good. I will definitely give it a read.
[05:31] <philipballew> Anyone know java that can help with an equals method?
[05:31] <holstein> i might just try and print a list of the *.mp3's by path or whatever and cp them
[05:31] <holstein> philipballew: wish i did...
[05:32] <philipballew> holstein, wish I did not have to have to know
[05:32]  * philipballew knows no other way to word it
[05:34] <holstein> Zauberberg: i might just load up a gui filemanager.. search and start moving htem
[05:34] <holstein> them*
[05:34] <holstein> something like catfish would find them
[05:38] <Zauberberg> I just got it to work. I used: find /media/me/mydrive -name '*.mp3' -exec cp {} /home/music/unsorted  \;
[05:39] <holstein> yeah.. the "|" was throwing it off in that case
[05:39] <Zauberberg> What does "|" usually represent? Wonder why that side had it in there.
[05:39] <Zauberberg> site^
[05:41] <holstein> http://linux.byexamples.com/archives/349/how-to-redirect-output-to-a-file-as-well-as-display-it-out/ might help
[05:42] <holstein> i use it like "ps aux | grep foo" to find the process foo if its running
[05:43] <holstein> http://careerride.com/Linux-pipes.aspx is better i think
[05:46] <holstein> holstein@aphrodite:~$ locate *.ogg | tee test.txt
[05:46] <holstein> for example... just gave me a list of my ogg files in test.txt
[05:47] <Zauberberg> That's really useful. I've only been using Ubuntu for a day, but things like that make it very appealing.
[05:47] <holstein> sure... its all open, so the answer is always yes
[05:47] <holstein> its just a matter of sorting out how
[17:59] <raub> Does anyone know if the Intel x520-DA2 (chipset 82599ES) works well under ubuntu 12.04LTS? By that I mean out of the box, without needing to install drivers.
[17:59] <raub> https://wiki.ubuntu.com/HardwareSupportComponentsWiredNetworkCardsIntel might be a bit dated
[20:50] <Zauberberg> Does anyone know how to disable fast user switching from the top-right system menu in 12.10? Apparently you could do it with dconf editor in earlier versions. I can remove the shutdown/logout/suspend options in dconf editor but not the usernames