|
|
@ -1,7 +1,7 @@ |
|
|
# cheat-sheet |
|
|
# cheat-sheet |
|
|
|
|
|
|
|
|
+ [Convert Emails](https://git.laurelcountycorrections.org/jpickard/cheat-sheet#converting-emails) |
|
|
+ [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) |
|
|
+ [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) |
|
|
+ [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) |
|
|
+ [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. |
|
|
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 \;``` |
|
|
```find . -name '*.pdf' -exec cp -r {} /home/jpickard/pdffiles \;``` |
|
|
|
|
|
|
|
|
|