Skip to content

Instantly share code, notes, and snippets.

@jeremy-rutman
Last active November 13, 2021 03:12
Show Gist options
  • Save jeremy-rutman/f9c4178aa7df1cf2bc73d19feae7243c to your computer and use it in GitHub Desktop.
Save jeremy-rutman/f9c4178aa7df1cf2bc73d19feae7243c to your computer and use it in GitHub Desktop.
useful command line stuff
rdfind -deleteduplicates true . # delete duplicates with criteria for what to keep
file * # info on files e.g. image sizes
exec # get piped info and act on it
webhttrack # gui for web scrape
detox -r <folder> # remove spaces
find /tmp/ -depth -name "* *" -execdir rename 's/ /_/g' "{}" \; # remove filename spaces
to fix errs on apt-get update try removing old/broken/irrelevant files from /etc/apt/sources.list.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment