2019-01-31 16:03:03 +01:00
|
|
|
# pathchk
|
|
|
|
|
2024-01-25 02:28:11 -03:00
|
|
|
> Check the validity and portability of pathnames.
|
2021-04-01 17:54:26 +02:00
|
|
|
> More information: <https://www.gnu.org/software/coreutils/pathchk>.
|
2019-01-31 16:03:03 +01:00
|
|
|
|
2021-08-15 19:59:09 +02:00
|
|
|
- Check pathnames for validity in the current system:
|
2019-01-31 16:03:03 +01:00
|
|
|
|
|
|
|
`pathchk {{path1 path2 …}}`
|
|
|
|
|
|
|
|
- Check pathnames for validity on a wider range of POSIX compliant systems:
|
|
|
|
|
|
|
|
`pathchk -p {{path1 path2 …}}`
|
|
|
|
|
|
|
|
- Check pathnames for validity on all POSIX compliant systems:
|
|
|
|
|
|
|
|
`pathchk --portability {{path1 path2 …}}`
|
|
|
|
|
|
|
|
- Only check for empty pathnames or leading dashes (-):
|
|
|
|
|
|
|
|
`pathchk -P {{path1 path2 …}}`
|