User Tools

Site Tools

Return to Home page


This shows you the differences between two versions of the page.

Link to this comparison view

cs:bash_useful [2019/12/13 09:34] (current)
zioskenz created
Line 1: Line 1:
 +====== Bash Useful Commands ======
 +  * Select all the regular files in the current directory greater that 10 Megabytes, compress them with the ''​7z''​ algorithm, and remove the original files
 +<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]

You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url:
/web/htdocs/ ยท Last modified: 2019/12/13 09:34 by zioskenz

Privacy Policy