Menu

cli syntax

Ivan
2014-09-23
2014-09-23
  • Ivan

    Ivan - 2014-09-23

    I can't seem to find detail on how to use the CLI tool. "/?" doesn't help "Element /? is not a file or a directory or does not exists.IgnoreErrors option is NOT set, hence Exiting.."
    and none of the included text files appear to show usage notes... not that I could find. am I missing something? sorry if so.

     
  • Ivan

    Ivan - 2014-09-23

    never mind.. I was trying to be too smart for myself.. . for anyone else looking, just omit the "/?" .. "crypt.exe" with no further string will show usage:
    crypt: (c) (name & email-address-omitted)
    Licenced Under GNU Public Licence (GPL)
    Version: 1.0.6

    Usage: crypt.exe [-d|-e] -p password file... [-R] [-r[n]] dir.. [-h]

    -h display this help message and quit (ignore all other options).
    -e encrypt: One and only one of -e or -d should be given.
    -d decrypt: One and only one of -e or -d should be given.
    -p password: password to (en/de)crypt. Must be given.
    -i ignore non-fatal errors (missing files etc) from this point onwards.
    file should be a regular file or a directory.
    dir should be a directory.

    recursive action on directory:
    -r (en/de)crypt recursively till the last level.
    -rn (en/de)crypt recursively only to depth n (a non-zero positive integer).
    -r and -rn operates only on the directory just after the option.
    -R makes all directories after -R to be infinitely recursive.

    Note: Starting Version 0.2.4 the software overwrites the (en/de)crypted file on
    the original file.
    This means that you will NOT be able to recover the original file if the passw
    ord is lost.

     

    Last edit: Ivan 2014-09-23

Log in to post a comment.