Page 1 of 1
Request: Delete folders using recycle bin
Posted: Tue Jun 11, 2013 5:08 pm
by rmtk
Now we can check "use recycle bin" option in file operations settings to delete files to recycle bin. But for folders, they are permentently deleted directly.
I think this should be changed.
I'm using linux version.
Re: Request: Delete folders using recycle bin
Posted: Tue Jun 11, 2013 5:35 pm
by oops66
rmtk wrote:Now we can check "use recycle bin" option in file operations settings to delete files to recycle bin. But for folders, they are permentently deleted directly.
I think this should be changed.
I'm using linux version.
Hello,
Yes, ... an old "bug", it's a
severe bug for me ... this is very dangerous if a lot of pictures were stored into this deleted folder.
see here:
http://newsgroup.xnview.com/viewtopic.p ... 05#p109705
Re: Request: Delete folders using recycle bin
Posted: Wed Jun 12, 2013 7:34 am
by xnview
On which distribution?
On ubuntu, files are moved in ~/.local/share/Trash/files
Re: Request: Delete folders using recycle bin
Posted: Wed Jun 12, 2013 8:50 am
by oops66
xnview wrote:On which distribution?
On ubuntu, files are moved in ~/.local/share/Trash/files
Hello Pierre,
...Yes but you also have to keep the structure bellow for files into folders too. (actually it's ok only for file1.txt, file2.png, file n, etc..(the trash root directory) not yet for FOLDERS and files into FOLDERS.
... To reproduce, 1-) first copy/or/create a folder with some pictures insides ... 2-) delete this folder (the copy) within XnviewMP (here, for example from a 4images-folder thumbnail into the browser mode + key "Suppr" - or Del - confirm Yes ... then the folder and the files are permanently deleted directly).
XnViewMP 0.56 Linux X64 - Ubuntu 12.04 LTS - X64
Code: Select all
~/.local/share/Trash/files/
... file1.txt
... file2.png
... file n
... FOLDER1
... file3.jpg
... file4.gz
... FOLDER2
... file n
... FOLDER20
... file n
Re: Request: Delete folders using recycle bin
Posted: Fri Jul 05, 2013 5:33 pm
by oops66
... It's a little bit better with MP-Linux-x64-0.60 for folders (folders not deleted directly) ... but now, I can not restore directly the files /or/ folders from the trash can, via the "restore button" ="Restaurer les éléments sélectionnés"
)
Code: Select all
Impossible de déterminer l'emplacement d'origine de « Copy of folder1 »
Impossible de restaurer l'élément depuis la corbeille
So a bug still there.
Re: Request: Delete folders using recycle bin
Posted: Tue Jul 09, 2013 8:04 am
by xnview
oops66 wrote:... It's a little bit better with MP-Linux-x64-0.60 for folders (folders not deleted directly) ... but now, I can not restore directly the files /or/ folders from the trash can, via the "restore button" ="Restaurer les éléments sélectionnés"
)
Code: Select all
Impossible de déterminer l'emplacement d'origine de « Copy of folder1 »
Impossible de restaurer l'élément depuis la corbeille
So a bug still there.
And works with files?
Re: Request: Delete folders using recycle bin
Posted: Tue Jul 09, 2013 8:06 am
by oops66
xnview wrote:...And works with files?
No same warning message ...

... (but it's possible to restore the files (or folders + files) by hand

)
Re: Request: Delete folders using recycle bin
Posted: Tue Jul 09, 2013 9:05 am
by xnview
oops66 wrote:xnview wrote:...And works with files?
No same warning message ...

... (but it's possible to restore the files (or folders + files) by hand

)
ok, i don't know where is stored the original pathname

Re: Request: Delete folders using recycle bin
Posted: Tue Jul 09, 2013 10:03 am
by oops66
xnview wrote:oops66 wrote:xnview wrote:...And works with files?
No same warning message ...

... (but it's possible to restore the files (or folders + files) by hand

)
ok, i don't know where is stored the original pathname

Do you have tryed "gvfs-trash" instead the "mv" or "rm" commands ?
Code: Select all
gvfs-trash file1.txt
gvfs-trash folder1
Re: Request: Delete folders using recycle bin
Posted: Tue Jul 09, 2013 10:30 am
by xnview
oops66 wrote:
Do you have tryed "gvfs-trash" instead the "mv" or "rm" commands ?
Code: Select all
gvfs-trash file1.txt
gvfs-trash folder1
Do you know if it works on all system?
Re: Request: Delete folders using recycle bin
Posted: Tue Jul 09, 2013 10:33 am
by oops66
xnview wrote:oops66 wrote:
Do you have tryed "gvfs-trash" instead the "mv" or "rm" commands ?
Code: Select all
gvfs-trash file1.txt
gvfs-trash folder1
Do you know if it works on all system?
...No, I do not know ... on Ubuntu yes... (...but I think in most linux distibutions)
http://askubuntu.com/questions/3982/is- ... thing-else
.... The main advantage of gvfs-trash is that it's installed by default in Ubuntu.
Re: Request: Delete folders using recycle bin
Posted: Thu Jul 18, 2013 4:06 pm
by oops66
Fixed for me with gvfs, with the XnViewMP x64 linux 0.61 version ... Thank you Pierre.
Also fixed with gvfs-mount
EX. Into the xnViewMP browser:
/home/user1/.gvfs/disque_dur_BOX_sur_192.168.1.1/dir01/pic01.jpg
or local hdd or partition:
//media/ntfs-data/0_test/pic01.jpg
Code: Select all
gvfs mount:
gvfs-mount -dm `readlink -f /dev/disk/by-label/ntfs-data`
umount:
gvfs-mount -u /media/ntfs-data # LABEL="ntfs-data"
Edit:
http://newsgroup.xnview.com/viewtopic.p ... 45#p117345