rm_/README.md

22 lines
599 B
Markdown
Raw Normal View History

2019-12-06 23:48:38 +08:00
# rm_
2021-05-16 09:09:00 +08:00
代替rm命令防止错误删除文件
2020-09-02 16:47:03 +08:00
基于coreutils-8.32 mv源代码
2019-12-06 23:48:38 +08:00
# Build
git clone https://github.com/niuyuling/rm_.git
2021-05-16 09:09:00 +08:00
cd rm_
apt-get build-dep coreutils
2020-09-02 16:47:03 +08:00
bash build_mv.sh
2019-12-06 23:48:38 +08:00
# Help Information
2020-09-02 16:47:03 +08:00
root@niuyuling:/mnt/c/Users/niuyuling/Desktop/Arm-tool# rm_ busybox-1.31.1
rm_
busybox-1.31.1
/tmp/
3
2021-05-16 09:09:00 +08:00
root@niuyuling:/mnt/c/Users/niuyuling/Desktop/Arm-tool#
#支持配置文件
root@NIUYULING:/mnt/c/Users/niuyuling/Desktop/rm_# cat /etc/rm_.conf
/opt/
root@NIUYULING:/mnt/c/Users/niuyuling/Desktop/rm_#