4,461
edits
add Delete files recursively |
No edit summary |
||
Line 1: | Line 1: | ||
= Copy including hidden files = | |||
* ''Last tested on Ubuntu 14.04.2 LTS (trusty)'' | * ''Last tested on Ubuntu 14.04.2 LTS (trusty)'' | ||
Line 7: | Line 7: | ||
</source> | </source> | ||
= Delete files recursively = | |||
* ''Lasted tested on Ubuntu 16.04.2 LTS (xenial) | * ''Lasted tested on Ubuntu 16.04.2 LTS (xenial) | ||
Line 15: | Line 15: | ||
</source> | </source> | ||
= Setting a default group for a folder = | |||
* ''Last tested on Ubuntu 16.04 LTS (xenial)'' | * ''Last tested on Ubuntu 16.04 LTS (xenial)'' | ||
Line 47: | Line 47: | ||
= Unpacking gz files = | |||
The files are compressed using Lempel-Ziv (LZ77) algorithm. GNU zip (gzip/gunzip) is used for this. | The files are compressed using Lempel-Ziv (LZ77) algorithm. GNU zip (gzip/gunzip) is used for this. | ||
Line 57: | Line 57: | ||
<syntaxhighlight lang="bash">$ gzip -d file.gz</syntaxhighlight> | <syntaxhighlight lang="bash">$ gzip -d file.gz</syntaxhighlight> | ||
= Mirror a folder = | |||
* ''Last tested on Ubuntu 16.04 LTS (xenial)'' | * ''Last tested on Ubuntu 16.04 LTS (xenial)'' | ||
Line 77: | Line 77: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= Move files older or less than x days = | |||
* ''Last tested on Ubuntu 14.04.5 LTS (trusty)'' | * ''Last tested on Ubuntu 14.04.5 LTS (trusty)'' | ||