files
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| files [2021/11/17 22:24] – created - external edit 127.0.0.1 | files [2024/01/06 07:11] (current) – jhagstrand | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| ====== Files ====== | ====== Files ====== | ||
| Line 42: | Line 41: | ||
| $ find . -name " | $ find . -name " | ||
| $ find . -name " | $ find . -name " | ||
| + | |||
| + | find unique list of file types | ||
| + | $ find ../ -type f | awk -F. ' | ||
| + | |||
| + | find and execute command on files across files | ||
| + | $ find / | ||
| + | $ find ../ -type f \( -name " | ||
| + | $ find ../ -type f -name " | ||
| + | |||
| + | find a file anywhere on the disk and ignore the " | ||
| + | $ find / -name Wire.h 2>&1 | grep -v " | ||
| grep | grep | ||
| Line 55: | Line 65: | ||
| $ rsync SRC DEST | $ rsync SRC DEST | ||
| - | synchronize two external hard disks | + | synchronize two external hard disks, dry run, real thing, ending slash required |
| - | rsync --dry-run --itemize-changes | + | rsync --dry-run --itemize-changes -avh /media/john/My\ Passport/ |
| | | ||
| - | rsync --delete | + | rsync -avh /media/john/My\ Passport/ |
| | | ||
| --dry-run | --dry-run | ||
| Line 79: | Line 89: | ||
| rsync --delete -avh -e "ssh -p 2222" --exclude ' | rsync --delete -avh -e "ssh -p 2222" --exclude ' | ||
| - | find unique list of file types | ||
| - | $ find ../ -type f | awk -F. ' | ||
| - | |||
| - | find and execute command on files across files | ||
| - | $ find / | ||
| - | $ find ../ -type f \( -name " | ||
| - | $ find ../ -type f -name " | ||
files.1637205867.txt.gz · Last modified: 2021/11/17 22:24 by 127.0.0.1