Search:

Type: Posts; User: c0dist

Search: Search took 0.00 seconds.

  1. Oh, another thing. There's one more faster way,...

    Oh, another thing. There's one more faster way, Perl. Here is the Perl syntax for doing that,


    $ perl -e 'for(<*>){((stat)[9]<(unlink))}'

    OR


    $ perl -e 'unlink <*>'
  2. Also, since I can't edit my last reply, here's...

    Also, since I can't edit my last reply, here's the interesting comparison of various methods,

    http://g33kinfo.com/info/archives/5630...
  3. Something I stumbled across on Quora. $ mkdir...

    Something I stumbled across on Quora.

    $ mkdir empty_dir$
    $ rsync -a --delete empty_dir/ yourdirectory/

    Source - http://qr.ae/uErOf
Results 1 to 3 of 3