4,348
edits
fastest way to delete |
Tags: Mobile edit Mobile web edit |
||
(2 intermediate revisions by the same user not shown) | |||
Line 60: | Line 60: | ||
</source> | </source> | ||
== Another method of deleting files under a folder == | |||
<source lang="console"> | |||
$ ls -f1 | xargs rm | |||
</source> | |||
= Setting a default group for a folder = | = Setting a default group for a folder = | ||
Line 141: | Line 147: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= Move files = | |||
<syntaxhighlight lang="bash" highlight="1"> | |||
$ rsync --remove-source-files -HAXzvhr /source/chanbara/* ./chanbara/ | |||
</syntaxhighlight> | |||
= Move files older or less than x days = | = Move files older or less than x days = |