File management: Difference between revisions

Jump to navigation Jump to search
no edit summary
add Delete files recursively
No edit summary
Line 1: Line 1:
== Copy including hidden files ==
= 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 ==
= 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 ==
= 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 ==
= 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 ==
= 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 ==
= 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)''


Navigation menu