cs:bash_useful
Return to Home page
If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it
You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/cs/bash_useful?rev=1576226084&do=diff
Differences
This shows you the differences between two versions of the page.
— | cs:bash_useful [2024/04/08 22:34] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Bash Useful Commands ====== | ||
+ | |||
+ | * Select all the regular files in the current directory greater that 10 Megabytes, compress them with the '' | ||
+ | <code bash> | ||
+ | find . -type f -size +10M -exec sh -c "echo {}; tar cfJ {}.txz {}; rm {}" \; | ||
+ | </ | ||
If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it
You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/cs/bash_useful?rev=1576226084&do=diff