From f2dd0209953c4b0462e0a3ad570f491d929e9f10 Mon Sep 17 00:00:00 2001 From: Joshua Pickard Date: Wed, 16 Feb 2022 11:05:45 -0500 Subject: [PATCH] Update 'README.md' --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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``` +