Tags: find

Sort by: Date / Title /

  1. 1 year ago by spirit
    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>
  2. 1 year ago by benoitbalon
    Dès lors qu'on consulte un répertoire avec des photos sur Windows, si l'on fait un aperçu de celles-ci un fichier caché nommé "Thumbs.db" est automatiquement créé. Alors moi je dis "sus aux Thumbs.db" !
    1. rm `find . -name "*.db" -print`
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1218"></script>
  3. 1 year ago by xarkam
    1. # Change les droits des répertoires et sous répertoires du dossiers courant
    2. # Changer la directive -type d par -type f pour ne changer que les droits des fichiers
    3. find -type d -exec chmod 770 {} \;
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/847"></script>
  4. sponsorised links
  5. 2 years ago by spirit
    1. du -S / | sort -nr | head -n50
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/565"></script>
  6. 2 years ago by benoitbalon and saved by 1 other
    1. find repertoire -type f -mtime +7d -exec /bin/rm {} \;
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/544"></script>
  7. 2 years ago by spirit 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>
  8. 2 years ago by guiguite
    1. find . -type f  -print0 | xargs -0 chmod +x
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/160"></script>

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