Andrea Falco

Note e consigli vari
  • Home
  • Info

Archivio

Archivio per la categoria ‘Script Bash’

Cancellare tutti i file vecchi

26 luglio 2010 Andrea Falco Nessun commento

Script per cancellare tutti i file più vecchi di un numero di giorni:

find /dir/to/file/* -mtime +3 -exec rm {} \;

dove -mtime +3 indica che verranno cercati i file creati più di 3 giorni fa.

Categorie:Script Bash Tag:

Cercare Parole Dentro File Da Terminale Bash

28 luglio 2009 Andrea Falco Nessun commento
grep -ril 'PAROLA DA CERCARE' *
Categorie:Script Bash Tag:
RSS
Twitter

Random Posts

  • Decomprimere file .gz
  • Perchè non attivare register_globals
  • Installare Web Server su Ubuntu
  • Link mailto antispam
  • array_slice

Tag Cloud

array_keys array_values BBCode BBCodes boot contare files cURL DictionaryEntry download grub 2 grub2 Hashtable HTTP ICollection Libre Office linux liveCD MySQL opendir Open Office PHP printf() readdir REPLACE str_replace System.Collections System.Collections.Hashtable ubuntu watermark

Categories

  • Senza categoria
  • Tutorials

Blogroll

  • Development Blog
  • Documentation
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Planet

Archives

  • marzo 2012
  • gennaio 2011
  • ottobre 2010
  • luglio 2010
  • aprile 2010
  • gennaio 2010
  • novembre 2009
  • ottobre 2009
  • settembre 2009
  • luglio 2009

Meta

  • Collegati
Vai su WordPress
Copyright © 2009-2012 Andrea Falco
Tema di NeoEase. XHTML 1.1 e CSS 3 convalidati.