things I learned cleaning up on GNU/Linux
-
things I learned cleaning up on GNU/Linux
using
ncduto find folders with biggest sizes17.8 GiB [######################] /tomboysfinding dupes and putting them into file:
fdupes -r save/ | tee dupsafter identifying the folders where stuff should not be:
grep 'copy 1' dups | xargs -d '\n' rmremoving all pesky node_modules without that current project where you need it:
find . -type 'd' -name 'node_modules' -not -path './repo/the-important-thing/*' -exec rm -rf {} \;same for venvs. I hate venvs.
find smol files, indicative of stuff you probably did not make yourself
find . -type f -size -4096cremove empty folders after cleaning dups
find . -type 'd' -empty -deleteappreciative of any further ideas you have!
-
things I learned cleaning up on GNU/Linux
using
ncduto find folders with biggest sizes17.8 GiB [######################] /tomboysfinding dupes and putting them into file:
fdupes -r save/ | tee dupsafter identifying the folders where stuff should not be:
grep 'copy 1' dups | xargs -d '\n' rmremoving all pesky node_modules without that current project where you need it:
find . -type 'd' -name 'node_modules' -not -path './repo/the-important-thing/*' -exec rm -rf {} \;same for venvs. I hate venvs.
find smol files, indicative of stuff you probably did not make yourself
find . -type f -size -4096cremove empty folders after cleaning dups
find . -type 'd' -empty -deleteappreciative of any further ideas you have!
@kaia@brotka.st Uh - did not know of
ncduRunning it now
-
@kaia@brotka.st Uh - did not know of
ncduRunning it now
-
@Nicro@fedi.absturztau.be @kaia@brotka.st I do like the pretty circles. I'm mainly testing
ncduto be used on servers without GUI. -
@Nicro@fedi.absturztau.be @kaia@brotka.st I do like the pretty circles. I'm mainly testing
ncduto be used on servers without GUI. -
@Nicro@fedi.absturztau.be @kaia@brotka.st No worry. Me too :gura_laugh: Did not take it as an attack at all. Did not even realize it could be interpreted that way :ablobcatsweatsiphard: