Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Access Shares w/ Python using SMB

Featured Replies

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?

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.

 

 

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?

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.