...
Code Block | ||||
---|---|---|---|---|
| ||||
STREAM_NAME=$1
SRC_FILE=$2
SRC_DIR="/usr/local/FlashphonerWebCallServer/records/"
REPLACE_STR="/var/www/html/stream_records/$STREAM_NAME-"
DST_FILE="${SRC_FILE/$SRC_DIR/$REPLACE_STR}"
sudo cp $SRC_FILE $DST_FILE |
Здесь
...
...
Code Block | ||||
---|---|---|---|---|
| ||||
STREAM_NAME=$1
SRC_FILE=$2
SRC_DIR="/usr/local/FlashphonerWebCallServer/records/"
REPLACE_STR="/var/www/html/stream_records/$STREAM_NAME-"
DST_FILE="${SRC_FILE/$SRC_DIR/$REPLACE_STR}"
sudo cp $SRC_FILE $DST_FILE |
Здесь
...