I have written a PHP script I run using cron, which takes arguments as files or directories to back up to an FTP server.
The script takes the args and executes the shell command hdiutil to make a compressed, encrypted image.
It works great, except that I currently get this error:
hdiutil: WARNING: -passphrase has been deprecated in favor of -stdinpass
When using this shell command within the script:
hdiutil create -srcfolder $source -encryption -passphrase $password -fs HFS+ -volname $vol_name $img_name
I haven't been able to enter a password using stdin either from the shell, is it even possible to use -stdinpass in a CGI?
The script takes the args and executes the shell command hdiutil to make a compressed, encrypted image.
It works great, except that I currently get this error:
hdiutil: WARNING: -passphrase has been deprecated in favor of -stdinpass
When using this shell command within the script:
hdiutil create -srcfolder $source -encryption -passphrase $password -fs HFS+ -volname $vol_name $img_name
I haven't been able to enter a password using stdin either from the shell, is it even possible to use -stdinpass in a CGI?