onedrive icon indicating copy to clipboard operation
onedrive copied to clipboard

Feature Request: Add information about file creator/last editor as extended file attributes

Open PMunch opened this issue 9 months ago • 2 comments

Is your feature request related to a problem? Please describe.

I'm using this to sync our company Sharepoint to my machine so I can more easily work with the files there. One thing I noticed which was missing was information about who last edited a file. This information can be very useful from time to time.

Describe the solution you'd like

When files are downloaded or updated this program could store information about who last edited the file (and possibly other metadata) as extended file attributes.

Describe alternatives you've considered

There's not really any other place to store information like this.

Additional context

No response

PMunch avatar May 08 '24 10:05 PMunch

@PMunch This will require some investigations and will not make it into v2.5.0 - sorry.

You can however use --modified-by to see this data. Please read https://github.com/abraunegg/onedrive/blob/onedrive-v2.5.0-release-candidate-2/docs/application-config-options.md#cli-option---modified-by for details

abraunegg avatar May 09 '24 11:05 abraunegg

No worries, just figured it would be a nice addition. Especially in combination with a file browser to display it (unfortunately my feature request to my current file browser doesn't seem to be going anywhere). Do you know if changing the extended attributes of a file would somehow mess with the sync? Otherwise it would be possible to write a script that checked each file and wrote the attributes. Not as clean or efficient as tying it into the syncing itself of course.

PMunch avatar May 09 '24 20:05 PMunch