|
|
@ -8,6 +8,22 @@ |
|
|
|
|
|
|
|
|
My cheat sheet for commands I have trouble remembering. |
|
|
My cheat sheet for commands I have trouble remembering. |
|
|
|
|
|
|
|
|
|
|
|
## Converting Emails |
|
|
|
|
|
### EML to MBOX using eml2mbox (email2mbox-git on AUR) |
|
|
|
|
|
``` |
|
|
|
|
|
cd /path/to/eml/files |
|
|
|
|
|
eml2mbox |
|
|
|
|
|
``` |
|
|
|
|
|
This creates `.archive.mbox`. |
|
|
|
|
|
|
|
|
|
|
|
### MBOX to HTML Threads using Mhonarc (mhonarc on AUR) |
|
|
|
|
|
``` |
|
|
|
|
|
cd /path/to/.archive.mbox/file |
|
|
|
|
|
mhonarc .archive.mbox |
|
|
|
|
|
``` |
|
|
|
|
|
This creates `threads.html` and extracts all information into the directory. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Find and copy files by extension recursively |
|
|
## 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 \;``` |
|
|
|