#!/bin/bash
# get all filename in specified path
path=$1
files=$(ls $path)
for filename in $files
do
# echo $filename #>> filename.txt
echo 'qingkongrizhi' > $1/$filename/logs/stdout.log
done
#!/bin/bash
# get all filename in specified path
path=$1
files=$(ls $path)
for filename in $files
do
# echo $filename #>> filename.txt
echo 'qingkongrizhi' > $1/$filename/logs/stdout.log
done