title toucher
section 1
project bgscripts-core
volume General Commands Manual
date April 2020
=====
NAME
  toucher - touch, chmod, chown, and restorecon a file in one command
SYNOPSIS
  toucher <mode> <user>[:<group>] [<file>]
DESCRIPTION
  Touch, change mode, change ownership, and restore SELinux context all in one command.
  The author performs these steps in scripts quite often, and got tired of having to run each command separately.
EXAMPLES
Call it this way.

    toucher 0755 root:root /var/file
BUGS
* Order of parameters is vital.
* Only one file is allowed per invocation.
* The man page is longer than the script.
SEE ALSO
`touch(1)`, `chmod (1)`, `chown(1)`, `restorecon(1)`
