Hy,
I tried to generate my first script.
This script shall be able to search recorded files and gzip.
But when i use common functions like "find ...", script return error "find not found"
I have putting this script at /usr/script folder and tried to execute from WebInterface.
The command line i am trying to execute is :
find -path $PATH -name $FILE -type f -exec gzip{} \;
Result is :
/usr/script/Manage_Records.sh: line 54: find: not found
Someone has an idea ?
Thx
I tried to generate my first script.
This script shall be able to search recorded files and gzip.
But when i use common functions like "find ...", script return error "find not found"
I have putting this script at /usr/script folder and tried to execute from WebInterface.
The command line i am trying to execute is :
find -path $PATH -name $FILE -type f -exec gzip{} \;
Result is :
/usr/script/Manage_Records.sh: line 54: find: not found
Someone has an idea ?
Thx