0 evaluări0% au considerat acest document util (0 voturi)
547 vizualizări3 pagini
At some point in your Linux life you'll come across a directory of session files (or something similar) that you want to remove. BUT, when you try to remove the files with linux's rm command you're met with the error message:
/bin/rm: Argument list too long
Fret not.. use find to remove these session files with it's -delete flag!
Titlu original
/bin/rm: Argument list too long (find's delete flag!)
At some point in your Linux life you'll come across a directory of session files (or something similar) that you want to remove. BUT, when you try to remove the files with linux's rm command you're met with the error message:
/bin/rm: Argument list too long
Fret not.. use find to remove these session files with it's -delete flag!
At some point in your Linux life you'll come across a directory of session files (or something similar) that you want to remove. BUT, when you try to remove the files with linux's rm command you're met with the error message:
/bin/rm: Argument list too long
Fret not.. use find to remove these session files with it's -delete flag!
/bin/rm: Argument list too long (find's delete flag!)
Discussion in 'Command Line' started by Rob, Dec 2, 2011. AL some poInL In your Inux IIIe you'II come ucross u dIrecLory oI sessIon IIIes (or someLIIng sImIIur) LIuL you wunL Lo remove. BUT, wIen you Lry Lo remove LIe IIIes wILI IInux's rm commund you're meL wILI LIe error messuge: [bin[rm: Argoment list too long reL noL.. use IInd Lo remove LIese sessIon IIIes wILI IL's -deIeLe IIug! eL's suy we're IookIng Lo deIeLe IIIes numed sessIon_8q8q8, sessIon_qqqqq, sessIon_qqqq, eLc.. und LIey IIve In JpuLIJLo JIIIesJ |xcode=busI|IInd JpuLIJLoJIIIesJ -nume "sessIon_" -deIeLe|Jxcode| BeIore Iound ouL ubouL IInd's cooI -deIeLe IIug 'd puIr up IInd wILI exec or xurgs.. |xcode=busI|IInd JpuLIJLoJIIIesJ -nume "sessIon_" -exec rm {] \; IInd JpuLIJLoJIIIesJ -nume "sessIon_" -prInLo ] xurgs -o rm|Jxcode| Now, Iowever.. I'II use LIe -deIeLe IIug. Does unyone know Iow Iong IL's been uround? Selling my domains: RHEL.Pro and CentOS.Pro (PM me w/ offers) K5 Web Security | Linux Blog | Linux News | Download Linux | Password Generator don'L know Iow Iong IL's been uround, buL on my UbunLu 8.1o LIe Home Forums General Command Line Messages: 573 Likes Received: 181 Trophy Points: 43 Rob Administrator Forums Home Search Forums Recent Posts Resources Members fijiaaron, Aug 22, 2012 #2 Bill, Aug 23, 2012 #3 (You must log in or sign up to reply here.) deIeLe IIug Is IIsLed In LIe mun puge, buL IL doesn'L work. geL LIIs messuge: IInd: InvuIId predIcuLe `-deIeLe' 8.1o Is IuIrIy oId. UbunLu 1z.1o wIII be ouL In u Iew monLIs. 8.1o Is neurIy q yeurs oId. Huve you consIdered upgrudIng? Members Online Now NakedRider Total: 814 (members: 1, guests: 789, robots: 24) Recent Threads Torrent Server Dre @ Jun 30, 2014 at 11:32 AM All my USB ports went dead arochester @ Jun 30, 2014 at 11:13 AM Post installation driver problems, wireless,... Messages: 1 Likes Received: 0 Trophy Points: 0 fijiaaron New Member Messages: 127 Likes Received: 4 Trophy Points: 0 BiII New Member Contact Us Help Home Top Advertising Positioning by Digital Point Terms and Rules Forum software by XenForo 2010-2013 XenForo Ltd. | Linux Blog | Linux Hosting | Advertise | Corporate Sponsors | Download Linux | Linux News | Web Security Discussions: 5,776 Messages: 20,189 Members: 14,410 User Record: 4,476 Latest Member: ishwar arochester @ Jun 30, 2014 at 11:02 AM RDP assistance lililil @ Jun 30, 2014 at 8:43 AM Detecting and Activating Wireless USB Device in... arochester @ Jun 30, 2014 at 5:45 AM HeAlThY WegHT lOSS DiET frach khan @ Jun 30, 2014 at 12:30 AM Weight Loss jonathantrot @ Jun 29, 2014 at 10:02 PM Kernel modification and compilation ryanvade @ Jun 29, 2014 at 8:16 PM Add commands ryanvade @ Jun 29, 2014 at 5:36 PM Recovering deleted files using only grep ZZs @ Jun 29, 2014 at 5:12 PM Forum Statistics Home Forums General Command Line