shell2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
shell2 [2023/04/12 20:44] – external edit 127.0.0.1 | shell2 [2023/05/17 09:47] (current) – [Protips for find] dblume | ||
---|---|---|---|
Line 565: | Line 565: | ||
lib/ | lib/ | ||
+ | Tip: tar up the last day's worth of log files: | ||
+ | |||
+ | find . -mtime -1 -name \*.log -print0 | tar -jcvf logs.tar.bz2 --null -T - | ||
====== Additional Keywords ====== | ====== Additional Keywords ====== | ||
Linux, Unix, *nix | Linux, Unix, *nix |
shell2.txt · Last modified: 2023/05/17 09:47 by dblume