-
pulizia dotfilesPer 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 -hYoung professional woman and busy mom.-
Re: pulizia dotfilesScritto daNon Autenticatoil 2015-05-30 16:31:23.0 alle 2015-05-30 16:31:23.0Scritto 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 >

-