[03:38] Anyone know java that can help me with an equals method? [05:07] 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] However, I get this error. "paths must precede expression: f" [05:08] i would probably do it by hand just to be sure [05:08] you can use the *.mp3 command several times though [05:09] According to this site, it should work fine. http://www.cyberciti.biz/tips/howto-linux-unix-find-move-all-mp3-file.html [05:10] Zauberberg: i would ask the author of the scritp [05:10] script* [05:10] http://askubuntu.com/questions/30330/paths-must-precede-expression-error-when-trying-to-find-all-jpg-files-in-the-c seems relevant [05:12] 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] you could ask on twitter https://twitter.com/nixcraft [05:15] Zauberberg: can you run the seperate parts, and see where the error is? [05:16] Zauberberg: what is the path? maybe you are not using the correct path for /media/home/whatever [05:17] 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] http://srynot4sale.wordpress.com/2008/07/07/find-paths-must-precede-expression/ shows single dash quotes [05:19] i would cd where they are and cp *.mp3 [05:21] Zauberberg: this looks more like it http://unix.stackexchange.com/questions/44068/use-a-shell-variable-to-execute-a-comand [05:21] I just tried it with single quotes but I got the same error. Let me check that last link. [05:22] interpretting the | as a path... id go with that [05:23] looks plausible from what i see above [05:26] I'm afraid I was not able to understand that page. I will try the Ubuntu manual. [05:26] Zauberberg: i would just go to a linux book [05:27] you are not trying to do anything ubuntu specific.. should work in any commandline [05:27] the way i read that, the pipe gets seen as a path... [05:27] I don't have any Linux books. Can you recommend any online Linux guides? [05:28] i would start witnthe find man pages and look at the other references for the other commands [05:28] Zauberberg: you can use askubuntu [05:29] Zauberberg: i would tweet that author i linked and ask [05:29] I would but I'm not a twitter user. [05:30] holstein, knows what he is talking about [05:30] 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] Or send an email us at vivek@cyberciti.biz [05:30] I will need to read up on things more and try doing things like that when I am more experienced. [05:30] I searched for the man page and it seems very good. I will definitely give it a read. [05:31] Anyone know java that can help with an equals method? [05:31] i might just try and print a list of the *.mp3's by path or whatever and cp them [05:31] philipballew: wish i did... [05:32] holstein, wish I did not have to have to know [05:32] * philipballew knows no other way to word it [05:34] Zauberberg: i might just load up a gui filemanager.. search and start moving htem [05:34] them* [05:34] something like catfish would find them [05:38] I just got it to work. I used: find /media/me/mydrive -name '*.mp3' -exec cp {} /home/music/unsorted \; [05:39] yeah.. the "|" was throwing it off in that case [05:39] What does "|" usually represent? Wonder why that side had it in there. [05:39] site^ [05:41] http://linux.byexamples.com/archives/349/how-to-redirect-output-to-a-file-as-well-as-display-it-out/ might help [05:42] i use it like "ps aux | grep foo" to find the process foo if its running [05:43] http://careerride.com/Linux-pipes.aspx is better i think [05:46] holstein@aphrodite:~$ locate *.ogg | tee test.txt [05:46] for example... just gave me a list of my ogg files in test.txt [05:47] That's really useful. I've only been using Ubuntu for a day, but things like that make it very appealing. [05:47] sure... its all open, so the answer is always yes [05:47] its just a matter of sorting out how === karthick87 is now known as rakm === rakm is now known as izx === DejaVu1 is now known as _DejaVu [17:59] 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] https://wiki.ubuntu.com/HardwareSupportComponentsWiredNetworkCardsIntel might be a bit dated === yofel_ is now known as yofel [20:50] 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