From ade3e4b4b0fabc5c743cdc365d41173ba6cc43a2 Mon Sep 17 00:00:00 2001 From: Joshua Pickard Date: Wed, 28 Sep 2022 14:15:20 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6667497..43be1ca 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # cheat-sheet + [Convert Emails](https://git.laurelcountycorrections.org/jpickard/cheat-sheet#converting-emails) -+ [File Management](https://git.laurelcountycorrections.org/jpickard/cheat-sheet#find-and-copy-files-by-extension-recursively) ++ [File Management](https://git.laurelcountycorrections.org/jpickard/cheat-sheet#file-management) + [Network, Firewall, UFW](https://git.laurelcountycorrections.org/jpickard/cheat-sheet#ufw) + [NFS](https://git.laurelcountycorrections.org/jpickard/cheat-sheet#mount-nfs-share-nfs-common-or-nfs-utils) + [Merge Video](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#merge-video-files-with-ffmpeg) @@ -28,8 +28,15 @@ mhonarc .archive.mbox ``` This creates `threads.html` and extracts all information into the directory. +## File Management -## Find and copy files by extension recursively +### Rsync + +```rsync -avh --progress /sourcefile /destinationfolder/``` +Add ```--dry-run``` to test + + +### Find and copy files by extension recursively ```find . -name '*.pdf' -exec cp -r {} /home/jpickard/pdffiles \;```