Questions tagged «deleting»

2
如何删除.fuse_hidden *文件?
我有一个小型Linux服务器(Debian Squeeze),它运行一个Samba服务器,该服务器配置为与某些Windows计算机共享一些文件夹。尝试从Windows删除目录之一时,我收到“无法删除文件夹”错误。 我试图从Linux的控制台中删除目录,但出现类似的错误: # rm dir-name -rf rm: cannot remove `dir-name': Directory not empty 我列出了目录的内容,并找到了一个名为.fuse_hidden的文件,后跟一个十六进制数字(000bd8c100000185)。 # ls -la dir-name -rwxrwxrwx 1 root root 5120 Feb 13 11:46 .fuse_hidden000bd8c100000185 我试图删除.fuse_hidden文件,但是立即创建了一个新文件(请注意十六进制数字的更改)。 # rm dir-name/.fuse_hidden000bd8c100000185 # ls -la dir-name -rwxrwxrwx 1 root root 5120 Feb 13 11:46 .fuse_hidden000bd8c100000186 我还尝试使用Midnight Commander删除文件,但没有成功。 到目前为止,我发现的其他解决方案涉及GUI,而我只有控制台。 任何建议表示赞赏。

5
rsync“无法删除非空目录”错误,即使使用--force选项也是如此
运行此命令时: $ sudo rsync -r --delete --force --checksum --exclude=uploads /data/prep/* /data/app/ 我得到以下输出: cannot delete non-empty directory: html/js/ckeditor/_source/plugins/uicolor/yui cannot delete non-empty directory: html/js/ckeditor/_source/plugins/uicolor/yui cannot delete non-empty directory: html/js/ckeditor/_source/plugins/uicolor cannot delete non-empty directory: html/js/ckeditor/_source/plugins/uicolor cannot delete non-empty directory: html/js/ckeditor/_source/plugins cannot delete non-empty directory: html/js/ckeditor/_source/plugins cannot delete non-empty directory: html/js/ckeditor/_source cannot delete non-empty …
28 rsync  gentoo  man  deleting 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.