.
contact contact

How to convert A.05.x program files to A.06.x (password protection)?

 
.
 

Title: How to convert A.05.x program files to A.06.x (password protection)?
Document: gen_031
Keywords: program file,convert,password,A.05.x,protect,store


Is it possible to convert several A.05.x program files to the new fromat, giving them a password?

You can use a sinple shell script to manage this.
Note: The following script comes with no warrenty and you should make a backup of your files before testing it.
#!/bin/sh
# p2p.sh - copy all *.PROG specified files to the current
#          directory and attach given password

if [ $# -lt 2 ]
then
   echo "Usage: psp.sh password file..."
   exit 1
fi

pw="$1"
shift

for prog in $@
do
  name=`basename "$prog" .PROG`
  /opt/eloquence6/bin/list $prog |
  /opt/eloquence6/bin/store -o $name -r 2 -p "$pw" -
  if [ $? != 0 ]; then
    echo "** failed"
    exit 1
  fi
done

 
 
.
 
 
  Privacy | Webmaster | Terms of use | Impressum Revision:   
  Copyright © 1995-2002 Marxmeier Software AG