mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
compact: add page (#22805)
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
committed by
GitHub
parent
234d0bdf05
commit
2baa612037
@@ -0,0 +1,24 @@
|
||||
# compact
|
||||
|
||||
> Display or change the compression state of files and directories on NTFS partitions.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/compact>.
|
||||
|
||||
- Display the compression status of files in the current directory:
|
||||
|
||||
`compact`
|
||||
|
||||
- Compress a specific file:
|
||||
|
||||
`compact /c {{path\to\file}}`
|
||||
|
||||
- Uncompress a specific file:
|
||||
|
||||
`compact /u {{path\to\file}}`
|
||||
|
||||
- Compress all files in a directory and its subdirectories:
|
||||
|
||||
`compact /c /s {{path\to\directory}}`
|
||||
|
||||
- Uncompress all files in a directory and its subdirectories:
|
||||
|
||||
`compact /u /s {{path\to\directory}}`
|
||||
Reference in New Issue
Block a user