Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to delete selected files #38

Closed
spsf64 opened this issue Nov 7, 2016 · 12 comments
Closed

Add option to delete selected files #38

spsf64 opened this issue Nov 7, 2016 · 12 comments

Comments

@spsf64
Copy link

spsf64 commented Nov 7, 2016

Maybe even 2 options like "delete" (permanently) and "move to trash"
Thanks for this great project!

@cboxdoerfer
Copy link
Owner

Sure, I'll add those.

@spsf64
Copy link
Author

spsf64 commented Nov 7, 2016

Thanks, maybe other options like "copy to" and "move to" and select any folder where to put such selected files would be a great addition?
These options could simplify tasks when dealing with duplicate files.

@cboxdoerfer
Copy link
Owner

@spsf64, yes, copy and move to sound like useful additions. I'll add them. I opened a bug report for those: #48

@cboxdoerfer
Copy link
Owner

cboxdoerfer commented Dec 2, 2016

@spsf64 I just added the option to delete files and move them to trash. Currently the deleted files will still show up in the results (however the icon will indicate that they have been removed). But this will be fixed when I add file system monitoring - which will pick up delete or move (to trash) events automatically.

@orschiro
Copy link

orschiro commented Dec 2, 2016 via email

@cboxdoerfer
Copy link
Owner

cboxdoerfer commented Dec 2, 2016

@orschiro, that depends on the permissions of the parent directory. If you have permission to modify it (write permission) you can delete files in there.

So in general you can't delete every file because usually your user can't modify everything. However I could use PolicyKit for example, then you get prompted for a password when you want to modify system files. I'll have a look how this can be done and maybe add an option.

@spsf64
Copy link
Author

spsf64 commented Dec 2, 2016

@cboxdoerfer thanks! I will check this later today.
Any news on select/deselect paths in darabase?

@cboxdoerfer
Copy link
Owner

cboxdoerfer commented Dec 2, 2016

@spsf64, there's some progress on a prototype but it's nothing usable yet and I'm still not sure about some of the details. Maybe by the end of this month I'll be able to publish some of the progress.

The reason why this takes so long is because I first need to implement a byte code compiler and interpreter for this to work nicely and efficiently.

@spsf64
Copy link
Author

spsf64 commented Dec 2, 2016

@cboxdoerfer Just checked and the option works perfectly!
Just a small suggestion, to delete a file shift+del instead of ctrl+del to comply with file manager standards?
Thanks for this great software!

@cboxdoerfer
Copy link
Owner

@spsf64, yes sure. Fixed it.

@spsf64
Copy link
Author

spsf64 commented Dec 2, 2016

Wow, this one was fassst! Thank you, have a nice weekend.

@cboxdoerfer
Copy link
Owner

@spsf64, np, you too. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants