Mostra notizie nelle discussioni
  • Avatar
    ☺
    Scritto da
    ::1
    il 2015-05-30 16:28:15.0 alle 2015-05-30 16:28:15.0
    Trollate totali: 12321
    pulizia dotfiles
    Per individuare le directory di programmi che mi occupano più spazio o di programmi che non uso più mi sono scritto uno scriptino che magari può tornare comodo a qualcuno.
    #!/bin/dash
    (
      find $HOME -mindepth 1 -maxdepth 1 -name .\* -type d \
        -not -name .config \
        -and -not -name .cache \
        -and -not -name .local
      find $HOME/.config -mindepth 1 -maxdepth 1 -type d
      find $HOME/.cache -mindepth 1 -maxdepth 1 -type d
      find $HOME/.local/share -mindepth 1 -maxdepth 1 -type d
    ) | xargs du -hs | sort -h
    
    Young professional woman and busy mom.
    • Avatar
      Scritto da
      Non Autenticato
      il 2015-05-30 16:31:23.0 alle 2015-05-30 16:31:23.0
      Re: pulizia dotfiles
      Scritto da: ::1
      > Per individuare le directory di programmi che mi occupano più spazio o di programmi che non uso più mi sono scritto uno scriptino che magari può tornare comodo a qualcuno.
      >
      > #!/bin/dash
      > (
      > find $HOME -mindepth 1 -maxdepth 1 -name .\* -type d \
      > -not -name .config \
      > -and -not -name .cache \
      > -and -not -name .local
      > find $HOME/.config -mindepth 1 -maxdepth 1 -type d
      > find $HOME/.cache -mindepth 1 -maxdepth 1 -type d
      > find $HOME/.local/share -mindepth 1 -maxdepth 1 -type d
      > ) | xargs du -hs | sort -h
      > 


      Immagine postata dall'utente
<softv>

Pagina generata in 47 millisecondi

Utenti attivi: 8 nell'ultimo minuto, 22 negli ultimi cinque minuti, 39 negli ultimi 15 minuti