Closed iysheng closed 3 years ago
@iysheng you can only trash file into a trash folder in the same volume (disk). Apparently, a.txt is under /
volume while /tmp
is a different volume
@iysheng you can only trash file into a trash folder in the same volume (disk). Apparently, a.txt is under
/
volume while/tmp
is a different volume
thanks for your reply, now i can trash files to /.Trash directory. But when I want to see what files i trash in /.Trash. It does not work. #189
thanks for your reply, now i can trash files to /.Trash directory. But when I want to see what files i trash in /.Trash. It does not work. #189
yeah, seem like trash-list lack --trash-dir option, my workaround: find /your/trash/dir/info/*.trashinfo -exec cat {} +
. trash-empty and trash-restore still worked with --trash-dir option so it's fine I think.
thanks for your reply, now i can trash files to /.Trash directory. But when I want to see what files i trash in /.Trash. It does not work. #189
yeah, seem like trash-list lack --trash-dir option, my workaround:
find /your/trash/dir/info/*.trashinfo -exec cat {} +
. trash-empty and trash-restore still worked with --trash-dir option so it's fine I think. if the code asdo_trash_list() { find /.Trash/info/*.trashinfo -exec cat {} + 2> /dev/null } alias rtrash-list=do_trash_list
will be better? :thinking:
With commit f11df22ffac87102289fa7dbac955a484133bd1c trash-list learnt a new option: --trash-dir
.
When i try to trash files to /tmp.Trash direction, then it doesn't work.
I do not know why this happend?