December 10, 20196 yr Is it possible to modify the files on my shares through a script? For my use case, I would like to update the schema I used to name my files when I first built my server. I was looking into the pysmb module in Python, but am unable to list my shares even after authenticating. Is SMB the right approach or should I be running a script directly on the server instead?
December 10, 20196 yr You might want to look into user scripts. I think you'd have to use bash, but if you're looking to do a re-occurring script, it might be a better solution.
December 11, 20196 yr 5 hours ago, WriteAmp said: I would like to update the schema I used to name my files when I first built my server Does this mean you had a naming convention (for example: /Photos/<Camera>/<Date>/<picture#>.jpeg) that you were using and now you want to change the convention to something like /Photos/<Country>/<Camera>/<Date>/<picture#>.jpeg? i.e. this is a 1-time mass rename?
December 11, 20196 yr Author Right, this would be a one time thing. I don't plan to move any folders around, just rename a large batch of files with a small set of rules. For example, I have a bunch of older files which I numbered without any padding (such as 1 instead of 01).
Archived
This topic is now archived and is closed to further replies.