mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 19:55:24 +02:00
setfile: add page (#9554)
* setfile: add page * setfile: fix typo * setfile: fix typo * setfile: fix typo * setfile: fix wording Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * setfile: fix wording Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * setfile: fix wording Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
This commit is contained in:
parent
adbbb76e90
commit
c21edd799d
1 changed files with 16 additions and 0 deletions
16
pages/osx/setfile.md
Normal file
16
pages/osx/setfile.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# setfile
|
||||||
|
|
||||||
|
> Sets file attributes on files in an HFS+ directory.
|
||||||
|
> More information: <https://ss64.com/osx/setfile.html>.
|
||||||
|
|
||||||
|
- Set creation date for specific files:
|
||||||
|
|
||||||
|
`setfile -d "{{MM/DD/YYYY HH:MM:SS}}" {{path/to/file1 path/to/file2 ...}}`
|
||||||
|
|
||||||
|
- Set modification date for specific files:
|
||||||
|
|
||||||
|
`setfile -m "{{MM/DD/YYYY HH:MM:SS}}" {{path/to/file1 path/to/file2 ...}}`
|
||||||
|
|
||||||
|
- Set modification date for symlink file (not to linked file itself):
|
||||||
|
|
||||||
|
`setfile -P -m "{{MM/DD/YYYY HH:MM:SS}}" {{path/to/file1 path/to/file2 ...}}`
|
Loading…
Add table
Reference in a new issue