Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@Remi.b, Okay, I gotta sleep. The only problem I see is that when i do cat .DS_Store in Trash folder it does not recognize the letters as ascii (cat .DS_Store | strings). If that is accomplished, it's really easy to parse the whole stuff using the list of files in trash in ls or find and a set of $FILEkjlfsdhkVolume/.../$FILE;fdjska.
@Remi.b, it works for many files from one directory. But, unfortunately, it was not something you need, I thought it could delete all files to where they were.. By the way, can't you just use mv? Or you deleted many files and folders from many folders?