- 解压当前目录下的文件到指定目录, 同时保留压缩文件的目录结构.
find ./ -maxdepth 1 -type f -exec 7za x {} -o/home/caspar/下载/小鸟/extract -phuohu1128 \;
- bash中做 urldecode
# 定义函数
$ urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
# 使用函数解码
$ urldecode https%3A%2F%2Fgoogle.com%2Fsearch%3Fq%3Durldecode%2Bbash
https://google.com/search?q=urldecode+bash