spirit posteets tagged find  [ Profile ]

Sort by: Date / Title /

  1. 6 years ago
    1. perl -ple 's/num/$n++/e' filename
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2150"></script>
  2. 8 years ago
    find / -mtime 2 -o -ctime 2
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2113"></script>
  3. 8 years ago
    1. find / -perm -0002 -type d -print
    2. find / -perm -0002 -type f -print
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2112"></script>
  4. sponsorised links
  5. 8 years ago
    Great for finding effects of make install
    1. find / -cmin -5
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2111"></script>
  6. 8 years ago
    1. find / -size +10000000c -printf "%15s %pn"
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2110"></script>
  7. 9 years ago
    Il faut avoir un backup de base tel qu'il y ait un dossier par base de donnée, un fichier SQL compressé par table. "-P 4" désigne le nombre de core.
    1. find -print0 | xargs -0 -n 1 -P 4 -I {} sh -c "zcat '{}' | mysql mydatabase"
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2071"></script>
  8. 10 years ago
    1. find . -name .svn -prune -o -print | xargs chown www-data:www-data
    2.  
    3. #Exclude another directory (cache)
    4. find . -name .svn -or -name cache -prune -o -print | xargs chown www-data:www-data
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1417"></script>
  9. 11 years ago
    1. du -S / | sort -nr | head -n50
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/565"></script>
  10. 11 years ago and saved by 1 other
    1. find repertoire -type f -mtime +7d | xargs rm -f
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/543"></script>

First / Previous / Next / Last / Page 1 of 1 (9 posteets)