Go to file
2020-09-02 16:47:03 +08:00
lib based on coreutils-8.32 2020-09-02 16:47:03 +08:00
build_mv.sh based on coreutils-8.32 2020-09-02 16:47:03 +08:00
build_mv.txt based on coreutils-8.32 2020-09-02 16:47:03 +08:00
copy.c based on coreutils-8.32 2020-09-02 16:47:03 +08:00
copy.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00
coreutils.txt based on coreutils-8.32 2020-09-02 16:47:03 +08:00
cp-hash.c based on coreutils-8.32 2020-09-02 16:47:03 +08:00
cp-hash.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00
die.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00
extent-scan.c based on coreutils-8.32 2020-09-02 16:47:03 +08:00
extent-scan.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00
fiemap.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00
force-link.c based on coreutils-8.32 2020-09-02 16:47:03 +08:00
force-link.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00
ioblksize.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00
libver.a based on coreutils-8.32 2020-09-02 16:47:03 +08:00
mv.c based on coreutils-8.32 2020-09-02 16:47:03 +08:00
mv.po based on coreutils-8.32 2020-09-02 16:47:03 +08:00
README.md based on coreutils-8.32 2020-09-02 16:47:03 +08:00
remove.c based on coreutils-8.32 2020-09-02 16:47:03 +08:00
remove.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00
selinux.c based on coreutils-8.32 2020-09-02 16:47:03 +08:00
selinux.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00
system.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00
version.c based on coreutils-8.32 2020-09-02 16:47:03 +08:00
version.h based on coreutils-8.32 2020-09-02 16:47:03 +08:00

rm_

Linux代替rm命令防止错误删除文件  
基于coreutils-8.32 mv源代码

Build

git clone https://github.com/niuyuling/rm_.git  
cd rm_  
bash build_mv.sh

Help Information

root@niuyuling:/mnt/c/Users/niuyuling/Desktop/Arm-tool# rm_ busybox-1.31.1  
rm_ 
busybox-1.31.1  
/tmp/   
3   
root@niuyuling:/mnt/c/Users/niuyuling/Desktop/Arm-tool#