banner
Eget

Eget

域名里的erection泛指建筑物之类

习惯用rm 命令的福音

经常手快了一步,脑子慢了一步,导致发生删错文件增加工作量的事故
比如这样

特此写了个简单的脚本来替换rm命令

#!/bin/bash
tempPath="/garbage"
if [ ! -d "$tempPath" ]; then
mkdir $blankPath
fi

mv $1 $tempPath

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.