sketchpad

A collection of personal and technical notes.

View the Project on GitHub arantebw/sketchpad

find

Find all files and folders, then delete them except the .git directory.

find . -mindepth 1 ! -regex '^./\.git\(/.*\)?' -delete

Find a specific directory using it’s name.

find . -name 'folder-name' -type d