Differences

This shows you the differences between the selected revisions of the page.

2020-12-28 2021-02-04
rar explicit anchor (martin) Recursively Changing Permissions (martin)
Line 108: Line 108:
touch -d "!?Date:!" !& touch -d "!?Date:!" !&
</code> </code>
 +
 +===== [[chmod]] Recursively Changing Permissions of Files or Folders only =====
 +For changing directory permissions:
 +<code custom-command-remote>
 +find ! -type d -exec chmod !?&Permissions:?755! {} \;
 +</code>
 +For changing file permissions:
 +<code custom-command-remote>
 +find ! -type f -exec chmod !?&Permissions:?644! {} \;
 +</code>
 +Check custom command options //Remote command// and //Apply to directories//.
===== Templates ===== ===== Templates =====

Last modified: by martin