2

I use Ubuntu and Windows 7 as dual boot.

I deleted a video from the Downloads folder in C drive while using my Ubuntu OS. I simply selected the video and did a Shift+Delete. When I switch to Windows, the file still shows up, although it gives an error while trying to open.

What went wrong while deleting the file in Ubuntu?
Can I fix this and make the icon disappear in Windows using Ubuntu?

4
  • 2
    Please clarify how you deleted the file and what filesystem you are using.
    – terdon
    Jun 11, 2014 at 10:28
  • Seems to me a windows problem. file is on a c: drive=windows. file is visible on windows. file gives an error deleting it on windows. I doubt Ubuntu is the system to fix this from.
    – Rinzwind
    Jun 11, 2014 at 10:41
  • -> Use checkdsk from windows on the C drive
    – Rinzwind
    Jun 11, 2014 at 10:50
  • I think the video file really is deleted ("gives an error when trying to open" is a giveaway) but the shortcut to the file is still there, maybe in a recently used list or an app too. Delete or clear that.
    – Xen2050
    Dec 12, 2014 at 4:45

2 Answers 2

2

This looks like a corrupted filesystem to me. Try chkdsk on Windows or fsck on Linux to check your file system and fix any possible corruption.

I don't think trash is the issue here. Both Ubuntu and Windows have this mechanism, with a similar concept – when “deleting” a file from the file manager, it is simply moved to a special folder instead of being deleted, and some metadata (original location and deletion date) is stored in a database. However, the implementations differ, so files moved to Trash under Ubuntu would not appear in the Windows Recycle Bin and vice versa. However, since files are moved, either way of deleting them will cause them to disappear from its original location.

Note that if you delete a file in another way than through the file manager, the trash folder may not be used and the file actually gets deleted.

0

They might still show up because they're in Ubuntu's trash bin. Try emptying your trash bin in Ubuntu with the C: disk mounted.

2
  • IF Ubuntu trashes a file on an external mounted file system, it creates a directory .Trash-1000 (if your user ID is 1000) in the device's root directory. Inside that, it moves the trashed file to files/ and some metadata (when it got trashed, where it was located) to info/, both files having the original file name.
    – Byte Commander
    Dec 8, 2015 at 12:40
  • -1 This is simply wrong. See the other answer for an explanation. Dec 8, 2015 at 16:57

Not the answer you're looking for? Browse other questions tagged .