File actions: Copy To does not work for directories
Bug #622201 reported by
William Friesen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kupfer |
New
|
Wishlist
|
Unassigned |
Bug Description
The File Actions plugin does not allow directories to be copied.
at kupfer/
def valid_for_
return (not item.is_dir()) and os.access(
Is there a reason that directories are explicitly disallowed here?
To post a comment you must log in.
yes, there is a reason. We simply use GIO for these file operations and when this was implemented, GIO did not do recursive directory copying. If it does now, we can add it in Kupfer. It's very beneficial to use GIO because of the complexities error handling, in my opinion.