banner
Eget

Eget

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

The Gospel of Using the rm Command

Often being quick with my hands but slow with my mind leads to accidents where files are mistakenly deleted, increasing workload. For example, like this.

Therefore, I wrote a simple script to replace the rm command.

#!/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.