diff --git a/README.md b/README.md index a7771f1..1a88aa2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ # cheat-sheet -My cheat sheet for commands I have trouble remembering. \ No newline at end of file +My cheat sheet for commands I have trouble remembering. + +## Find and copy files by extension recursively + +```find . -name '*.pdf' -exec cp -r {} /home/jpickard/pdffiles \;``` + +## 7-Zip compression (p7zip) + +```7z a archivename.7z thingtobearchived``` +