computers:tricksandtips
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computers:tricksandtips [2024/05/10 17:48] – [Windoze] david | computers:tricksandtips [2025/05/27 18:27] (current) – [Show Files by Access Time] david | ||
---|---|---|---|
Line 194: | Line 194: | ||
user 0m29.380s | user 0m29.380s | ||
sys | sys | ||
+ | </ | ||
+ | |||
+ | ==== Using tar Compress ==== | ||
+ | |||
+ | === Specific File Types === | ||
+ | |||
+ | < | ||
+ | find / | ||
+ | </ | ||
+ | |||
+ | |||
+ | Add compression | ||
+ | |||
+ | < | ||
+ | find / | ||
</ | </ | ||
====== BIOS Upgrade ====== | ====== BIOS Upgrade ====== | ||
Line 372: | Line 387: | ||
</ | </ | ||
+ | ===== rsync Windoze Files ===== | ||
+ | You need to expand the time stamp difference for Windoze to not re-copy everything; | ||
+ | |||
+ | < | ||
+ | # always have vP for verbose and progress | ||
+ | rsync --modify-window=5 -vPrltD NORMAL THING | ||
+ | # NO LUCK for me like this, but adding this does only check file size | ||
+ | |||
+ | rsync --size-only -vaP FROM/ TO/ | ||
+ | |||
+ | # try this | ||
+ | rsync --size-only -vPrltD # OR remove -t | ||
+ | |||
+ | # doing this on windows backup drive: | ||
+ | rsync --size-only -vPrlD | ||
+ | </ | ||
===== sshd Piping ===== | ===== sshd Piping ===== | ||
Line 696: | Line 727: | ||
# pipe to less if you want to page up / page down have a look (and reverse to so newest at top) q to exit less | # pipe to less if you want to page up / page down have a look (and reverse to so newest at top) q to exit less | ||
find / | find / | ||
+ | |||
+ | # AI suggested this for nice file formatting 2025 | ||
+ | # Alternative using printf for better formatting | ||
+ | find / | ||
+ | |||
</ | </ | ||
+ | ==== Find and Copy Files Between Two Dates ==== | ||
+ | |||
+ | Use **newermt** switch to **find** and copy files that are human readable times / dates from one place to another. | ||
+ | |||
+ | < | ||
+ | find / | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
==== Sort Text File By Second Column ==== | ==== Sort Text File By Second Column ==== | ||
computers/tricksandtips.1715363331.txt.gz · Last modified: 2024/05/10 17:48 by david