Thumbdrive trash

V11.4

I insert my thumbdrive into my machine, the file-manager sees it and displays the contents.

I want to copy files to it but there’s no room, so I delete enough files to make room.

The file manager no longer displays the deleted files but also says there’s still not enough room for a copy.

Selecting trash, no files appear, clicking empty-trash, still not enough room.

I don’t want to format.

How do you empty the trash on a thumbdrive?

Thank you.

On 10/28/2012 07:26 PM, rih5342 wrote:
> How do you empty the trash on a thumbdrive?

i would use Midnight Commander to navigate to the drive and then delete
the /trash

alternatively you could use a terminal and the rm command…

then, when you next use a GUI file manager don’t “Move to trash” instead
select “Delete”


dd http://tinyurl.com/DD-Caveat

This IS helpful, but…

What is going on with the hidden .trash directory with the “deleted” files still there?

On 2012-10-29 01:36, rih5342 wrote:
>
> This IS helpful, but…
>
> What is going on with the hidden .trash directory with the “deleted”
> files still there?

What do you mean?


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

If you mean, why does it do that

It’s a recovery feature I think.

Personally I never use trash. Just plain delete, which you might need to enable for the context menu
or if you hold SHIFT as you press delete, it’s gone forever.

I mean that I unmount the thumbdrive from Linux and plug it into a windows machine.

The windows explorer displays a .trash directory containing the trashed files, and can also delete the files, such that there is now free’d up space for new files.

On 10/29/2012 09:16 PM, rih5342 wrote:
>
> I mean that I unmount the thumbdrive from Linux and plug it into a
> windows machine.
>
> The windows explorer displays a .trash directory containing the trashed
> files, and can also delete the files, such that there is now free’d up
> space for new files.
>
>

so, that means you are using some kind of a windows file system on that
thumbdrive…

and, as stated earlier, if you (in Linux) Move the files to trash, they
will be in the trash…even if you can see the trash or their contents
(because they are hidden in Linux, but not hidden in Windows because
Windows doesn’t ‘know’ Linux file system basics!!)

if you DELETE them in Linux you will not see them in Windows because
they will NOT exist…but, moving to trash is a different thing, entirely.


dd

On 2012-10-29 21:16, rih5342 wrote:
>
> I mean that I unmount the thumbdrive from Linux and plug it into a
> windows machine.
>
> The windows explorer displays a .trash directory containing the trashed
> files, and can also delete the files, such that there is now free’d up
> space for new files.

So?
Nothing strange there, all is working as it should and designed.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

I plug in the thumbdrive, the filemanager sees it, and lists the contents.

I right click on a file, there is no delete option in the popup window, only move to trash, a keyboard delete removes the file from the filemanager listing.

I then select another file and move to trash.

I select trash on the file manager, nothing is listed.

I try to copy a file to the thumb drive, there is not enough room. The trashed and deleted files easily made enough room.

I then dismount and plug the thumbdrive into a windows machine.

There is a .Trash directory with the contents from both the delete and the move to trash.

The windows explorer can delete the .Trash directory and its contents and frees up space.

I safely remove the thumbdrive from the XP machine and plug it back into the V11.4 machine, and am now able to copy files to the thumbdrive.

The thumbdrive is HP 8GB with 1 partition and a Fat32 file system.

The windows machine is XP sp3.

The SUSE machine is V11.4, gnome

The SUSE file manager isn’t displaying the contents of the thumbdrive’s .Trash directory properly, and I assume therefor can’t delete what isn’t there.

Something is messed up, all of this is repeatable, and happens all the time.

Hi
Not at all, directories and files preceeded with a period are hidden, which ever file manager your using select view hidden files and delete as required.

On 11/02/2012 09:46 PM, malcolmlewis wrote:
>
> rih5342;2500986 Wrote:
>> I plug in the thumbdrive, the filemanager sees it, and lists the
>> contents.
>>
>> I right click on a file, there is no delete option in the popup window,
>> only move to trash, a keyboard delete removes the file from the
>> filemanager listing.
>>
>> I then select another file and move to trash.
>>
>> I select trash on the file manager, nothing is listed.
>>
>> I try to copy a file to the thumb drive, there is not enough room. The
>> trashed and deleted files easily made enough room.
>>
>> I then dismount and plug the thumbdrive into a windows machine.
>>
>> There is a .Trash directory with the contents from both the delete and
>> the move to trash.
>>
>> The windows explorer can delete the .Trash directory and its contents
>> and frees up space.
>>
>> I safely remove the thumbdrive from the XP machine and plug it back
>> into the V11.4 machine, and am now able to copy files to the
>> thumbdrive.
>>
>> The thumbdrive is HP 8GB with 1 partition and a Fat32 file system.
>>
>> The windows machine is XP sp3.
>>
>> The SUSE machine is V11.4, gnome
>>
>> The SUSE file manager isn’t displaying the contents of the thumbdrive’s
>> .Trash directory properly, and I assume therefor can’t delete what
>> isn’t there.
>>
>> Something is messed up, all of this is repeatable, and happens all the
>> time.
> Hi
> Not at all, directories and files preceeded with a period are hidden,
> which ever file manager your using select view hidden files and delete
> as required.

In addition, if you hold the shift key down, the option to move to trash with
switch to delete, just as happens in Windows.

On 2012-11-03 03:26, rih5342 wrote:

> Something is messed up, all of this is repeatable, and happens all the
> time.

Yes, but your report will go ignored - 11.4 is almost obsolete. :stuck_out_tongue:

You can delete trash using a different file browser. Maybe it happens
because it is fat formatted.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

On 2012-11-03 03:46, malcolmlewis wrote:

> Hi
> Not at all, directories and files preceeded with a period are hidden,
> which ever file manager your using select view hidden files and delete
> as required.

Trash in the gnome of 11.4 is not a hidden folder itself. it goes to
“~/.local/share/Trash/”, and there it has three directories; one
contains the deleted files, the others some kind of database to record
where each file was originally. On external media the structure can be
different, I have not checked.

However it is done, when displaying the contents of the icon named
“Trash”, its contents should display - and they don’t in the case he
describe. That is a bug. But it will not be solved (unless verified in 12.2)


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

One more time.

I insert my Fat32 thumbdrive (which is 99.999999% full and without a .Trash directory) into my V11.4 machine, the file manager sees it and lists files.

I delete a directory to free up space.

After setting file-manager/view/show-hidden-files, the file-manager lists a .Trash directory.

What is the difference between deleted and move-to-trash? Both operations move files to the thumb-drives .Trash directory.

Why don’t the deleted or moved-to-trash files get listed under file-managers trash?

Using the file-manager, when I drill down through the .Trash listing and find my deleted files, why can’t I delete them there. When I try, the file manager merely appends a .1 (and on a second delete-attempt a .2) , to the deleted file’s name.

Repeat my experiment, starting with a thumbdrive that is 99.999999% full.

Based on my newcomer observations, you can not delete files from a thumbdrive in a way that frees up space for new files.

I still say something is messed up.

What happens to the files if you mark them and press [SHIFT][DEL]?


PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.5 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.2 | HD 3000
eCAFE 800: oS 11.4 i586 | AMD Geode LX 800@500MHz | 512MB | lamp server

On 2012-11-05 02:56, rih5342 wrote:
> Based on my newcomer observations, you can not delete files from a
> thumbdrive in a way that frees up space for new files.

Of course you can, but you have to use the operation that do not use the
Trash, which is often hidden (the operation). In Nautilus I see move to
trash and delete - if you use delete, it asks for confirmation and then
really deletes the file.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))