0
功能的路徑解析路徑參數如何通過運作
gzip_files(){
echo 'gzip files'
echo $1
}
gzip_files '/var/www/bak/*/*'
輸出
gzip files
/var/www/bak/site1/ini /var/www/bak/site1/db /var/www/bak/site2/ini /var/www/bak/site2/site /var/www/bak/site2/ini
如何讓輸出爲
gzip files
/var/www/bak/*/*