有些文件乱码,但是文件也不正常,可以通过inode找到文件,然后删除。
root@localhost:~# ls -i
134866 20231103_ezlost_2ee270926e27a77a9748_20231103034348_archive.zip
38414 20240207_ezlost.tar.bz2
48735 20240207wordpress_export.xml
34236 20250317_210739_118.jpg
2822 backup_all.sh
50122 backup_wordpress_config.sh
226 downloads
48 fail2ban_1.1.0-1.upstream1_all.deb
1837 history.txt
134865 installer.php
48264 msmtp.log
51 n2n_3.0.0-1038_amd64.deb
47686 sent
48759 temp
135113 uploads
30198 virt-sysprep-firstboot.log
49330 wordpress_export.xml
52610 ''$'\311''ϴ'$'\253\316''ļ'$'\376\265\275\267\376\316\361\306\367'
root@localhost:~# find -inum 52610 -exec rm {} \;
root@localhost:~# ls -i
134866 20231103_ezlost_2ee270926e27a77a9748_20231103034348_archive.zip 134865 installer.php
38414 20240207_ezlost.tar.bz2 48264 msmtp.log
48735 20240207wordpress_export.xml 51 n2n_3.0.0-1038_amd64.deb
34236 20250317_210739_118.jpg 47686 sent
2822 backup_all.sh 48759 temp
50122 backup_wordpress_config.sh 135113 uploads
226 downloads 30198 virt-sysprep-firstboot.log
48 fail2ban_1.1.0-1.upstream1_all.deb 49330 wordpress_export.xml
1837 history.txt
先用 ls -i 查看文件inode,然后通过find -inum 52610 -exec rm {} \; 删除文件。