Anvil-file-details

From Alteeve Wiki
Revision as of 00:13, 1 August 2024 by Digimer (talk | contribs) (Created page with "{{man_header}} = NAME = anvil-file-details - Display details of the file passed in = SYNOPSIS = '''anvil-file-details''' ''</path/to/file> '' = DESCRIPTION = All this does is stat a file and return the information in a parsable way. For this reason, translatable strings are not used. = OPTIONS = ;-?, -h, '''--help''' : Show this man page. ; '''--log-secure''' : When logging, record sensitive data, like passwords. ; -v, -vv, -vvv : Set the log level to 1, 2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 Alteeve Wiki :: Man Pages :: Anvil-file-details

NAME

anvil-file-details - Display details of the file passed in

SYNOPSIS

anvil-file-details </path/to/file>

DESCRIPTION

All this does is stat a file and return the information in a parsable way. For this reason, translatable strings are not used.

OPTIONS

-?, -h, --help
Show this man page.
--log-secure
When logging, record sensitive data, like passwords.
-v, -vv, -vvv
Set the log level to 1, 2 or 3 respectively. Be aware that level 3 generates a significant amount of log data.

Commands:

--file /path/to/file
This is the file being examined.
--with-md5sum
Given how long calculating MD5 sums can take on large files, by default this is not done. If you want the md5sum calculated, use this switch.

EXAMPLE

The output will show the following information:

anvil-file-details --with-md5sum --file /mnt/shared/files/rhel-9.2-x86_64-dvd.iso
File: [/mnt/shared/files/rhel-9.2-x86_64-dvd.iso]
size: [9595977728]
mode: [04644]
uid: [1000]
gid: [1000]
mtime: [1690423778]
md5sum: [90cf58ff7a8f6ef8cb20b8ff091e84b7]

AUTHOR

Written by Madison Kelly, Alteeve staff and the Anvil! project contributors.

REPORTING BUGS

Report bugs to users@clusterlabs.org

 

Any questions, feedback, advice, complaints or meanderings are welcome.
Alteeve's Niche! Enterprise Support:
Alteeve Support
Community Support
© Alteeve's Niche! Inc. 1997-2024   Anvil! "Intelligent Availability®" Platform
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions.