/srv/irclogs.ubuntu.com/2012/11/19/#ubuntu-beginners.txt

philipballewAnyone know java that can help me with an equals method?03:38
ZauberbergComplete 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 {} /mymusicfolder05:07
ZauberbergHowever, I get this error. "paths must precede expression: f"05:08
holsteini would probably do it by hand just to be sure05:08
holsteinyou can use the *.mp3 command several times though05:08
ZauberbergAccording to this site, it should work fine. http://www.cyberciti.biz/tips/howto-linux-unix-find-move-all-mp3-file.html05:09
holsteinZauberberg: i would ask the author of the scritp05:10
holsteinscript*05:10
holsteinhttp://askubuntu.com/questions/30330/paths-must-precede-expression-error-when-trying-to-find-all-jpg-files-in-the-c seems relevant05:10
ZauberbergIt 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:12
holsteinyou could ask on twitter https://twitter.com/nixcraft05:14
holsteinZauberberg: can you run the seperate parts, and see where the error is?05:15
holsteinZauberberg: what is the path? maybe you are not using the correct path for /media/home/whatever05:16
ZauberbergI double checked the paths to make sure they were correct. I'm not sure what you mean by running the separate parts.05:17
holsteinhttp://srynot4sale.wordpress.com/2008/07/07/find-paths-must-precede-expression/ shows single dash quotes05:19
holsteini would cd where they are and cp *.mp305:19
holsteinZauberberg: this looks more like it http://unix.stackexchange.com/questions/44068/use-a-shell-variable-to-execute-a-comand05:21
ZauberbergI just tried it with single quotes but I got the same error. Let me check that last link.05:21
holsteininterpretting the | as a path... id go with that05:22
holsteinlooks plausible from what i see above05:23
ZauberbergI'm afraid I was not able to understand that page. I will try the Ubuntu manual.05:26
holsteinZauberberg: i would just go to a linux book05:26
holsteinyou are not trying to do anything ubuntu specific.. should work in any commandline05:27
holsteinthe way i read that, the pipe gets seen as a path...05:27
ZauberbergI don't have any Linux books. Can you recommend any online Linux guides?05:27
holsteini would start witnthe find man pages and look at the other references for the other commands05:28
holsteinZauberberg: you can use askubuntu05:28
holsteinZauberberg: i would tweet that author i linked and ask05:29
ZauberbergI would but I'm not a twitter user.05:29
philipballewholstein, knows what he is talking about05:30
ZauberbergI 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
holsteinOr send an email us at vivek@cyberciti.biz05:30
ZauberbergI will need to read up on things more and try doing things like that when I am more experienced.05:30
ZauberbergI searched for the man page and it seems very good. I will definitely give it a read.05:30
philipballewAnyone know java that can help with an equals method?05:31
holsteini might just try and print a list of the *.mp3's by path or whatever and cp them05:31
holsteinphilipballew: wish i did...05:31
philipballewholstein, wish I did not have to have to know05:32
* philipballew knows no other way to word it05:32
holsteinZauberberg: i might just load up a gui filemanager.. search and start moving htem05:34
holsteinthem*05:34
holsteinsomething like catfish would find them05:34
ZauberbergI just got it to work. I used: find /media/me/mydrive -name '*.mp3' -exec cp {} /home/music/unsorted  \;05:38
holsteinyeah.. the "|" was throwing it off in that case05:39
ZauberbergWhat does "|" usually represent? Wonder why that side had it in there.05:39
Zauberbergsite^05:39
holsteinhttp://linux.byexamples.com/archives/349/how-to-redirect-output-to-a-file-as-well-as-display-it-out/ might help05:41
holsteini use it like "ps aux | grep foo" to find the process foo if its running05:42
holsteinhttp://careerride.com/Linux-pipes.aspx is better i think05:43
holsteinholstein@aphrodite:~$ locate *.ogg | tee test.txt05:46
holsteinfor example... just gave me a list of my ogg files in test.txt05:46
ZauberbergThat's really useful. I've only been using Ubuntu for a day, but things like that make it very appealing.05:47
holsteinsure... its all open, so the answer is always yes05:47
holsteinits just a matter of sorting out how05:47
=== karthick87 is now known as rakm
=== rakm is now known as izx
=== DejaVu1 is now known as _DejaVu
raubDoes 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
raubhttps://wiki.ubuntu.com/HardwareSupportComponentsWiredNetworkCardsIntel might be a bit dated17:59
=== yofel_ is now known as yofel
ZauberbergDoes 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 usernames20:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!