|
Output directory for encoded scripts |
Top Previous Next |
|
You can specify an output directory for all encoded scripts when encoding from command line. Source files will be unchanged if you specify an output dir different from your source scripts dir. The default backup option will be off when an output dir is specified. If you want to re-enable it, even when the output dir is specified, then use the -b <backup_extension> option after the output directory option.
The full directory path to source scripts will be recreated under the output directory if the full path to source files was specified. Windows users - drive names ("C:","D:",etc) will be replaced with just one letter ("C","D",etc) when recreating the path under the output directory.
Command line option: -o <output_dir>
Example 1: Encode all *.php scripts in the current dir with recursion and put encoded files into /home/myproject/encoded.
> encode4 -r -o /home/myproject/encoded *.php
Example 2: Encode all scripts specified in the filelist and put encoded files into /home/myproject/encoded. Additionally backup source scripts in source directory with .bak extension.
> encode4 -o /home/myproject/encoded -b bak @filelist
|