Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    linux commands question

    Reply
    Page 2 of 2 | Prev |   1   2 |
    finlaybob | # 11 | 2011-02-04, 16:36 | Report

    AHA!

    Able to delete the actual path by using

    Code:
    sz=$(find | grep Braided); rm "$sz"
    EDIT:
    Scratch that. Its seems to only work on a single file

    Code:
    sz=$(find | grep m4p); rm "$sz"
    only removes the first file in the list.


    Code:
    sz=$(find . -name "*.m4p"); rm "$sz"
    Does the same.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by finlaybob; 2011-02-04 at 16:48.

     
    Rob1n | # 12 | 2011-02-04, 16:54 | Report

    Originally Posted by finlaybob View Post
    Thanks for all replies, however nothing is working

    All commands do something similar to this

    I'm now at home so using SSH instead of tiny little keys .

    using a single file at the moment, this is the path:
    Code:
    ./Neneh Cherry, Speech & Speech & Neneh Cherry/1 Giant Leap/Braided Hair.m4p
    Yeah, spaces can really mess things up. I'd advise installing the findutils-gnu package, then doing:
    Code:
    gfind . -name "*.m4p" -delete

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Rob1n For This Useful Post:
    Copernicus, finlaybob

     
    finlaybob | # 13 | 2011-02-04, 17:01 | Report

    EDIT:

    @Rob1n It worked!! Thanks for pointing me to the package!

    Now I need to do the same in windows...

    wish me luck!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by finlaybob; 2011-02-04 at 17:09. Reason: WIN!

     
    Dancairo | # 14 | 2011-02-04, 17:17 | Report

    You could use Daniusoft media converter ultimate to strip the DRM and then you won't have to delete them :-)
    It also works for BBC iPlayer downloads so you can keep the shows as long as you want!
    It's a commercial program and i'd strongly advise you not to find a copy free on the net even though there are loads out there. :-)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Dancairo For This Useful Post:
    finlaybob

     
    Copernicus | # 15 | 2011-02-04, 17:35 | Report

    Originally Posted by Rob1n View Post
    Yeah, spaces can really mess things up. I'd advise installing the findutils-gnu package, then doing:
    Code:
    gfind . -name "*.m4p" -delete
    Another thank you for this info! I was scratching my head trying to figure out just how to escape spaces in file names. Much easier to just use the Gnu tools... I'll be downloading these myself.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    finlaybob | # 16 | 2011-02-04, 17:36 | Report

    Thanks DanCairo but i've tried a similar program already, it just told me I didnt have the license file so could not continue. Ill have a look at Daniusoft though, cheers!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Dancairo | # 17 | 2011-02-04, 17:46 | Report

    Originally Posted by finlaybob View Post
    Thanks DanCairo but i've tried a similar program already, it just told me I didnt have the license file so could not continue. Ill have a look at Daniusoft though, cheers!
    Well I use it for just that purpose, DRM'd music (which I bought! so i'll do what the bloody hell I want with it thank you (aimed at the companies, not you))...and I'm using it right now for an iplayer program I haven't got round to watching yet - but I will delete later, promise.

    EDIT.... If you want to email me a DRM'd song, i'll try it for you

    Edit | Forward | Quote | Quick Reply | Thanks

     
    finlaybob | # 18 | 2011-02-04, 18:49 | Report

    Tried the trial of "DRM converter" from their site, creates an mp3 with no sound.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 2 of 2 | Prev |   1   2 |
vBulletin® Version 3.8.8
Normal Logout