File list & batch rename

:placard: Summary Export, rename, and move-on-disk flows are not fully tested end-to-end yet. Use at your own risk; feedback is welcome. This is not a stable or “production-ready” release.
:link: Repository https://github.com/PepegaSan/stash_csv_rename

Hi everyone,

I made a small side project (GUI + PowerShell) that exports scene file paths from Stash to a CSV and helps with batch renaming on disk (and optional folder scan without Stash). It’s for people who prefer a simple workflow than doing everything only inside Stash.

I think stash is amazing and I like it. But I missed an easy media control. So I did what I could do with my limits and made this tool

This isn’t a plug or a product — I’m sharing it in case it makes life easier for other users. If the maintainers think it’s useful, they’re welcome to link it or mention it on the official site; no strings attached.

Thanks for Stash — happy to adjust wording if anything should be clearer.

Hi everyone,

I have just updated the project and added two new tabs.

Tab 4: File Management This tab is designed to move files or pack them into a specific folder based on two criteria:

  • Files containing a specific word in their filename.

  • Files that have a specific tag.

Tab 5: Video Renaming This tab allows you to rename videos according to a fixed naming schema. Its features include:

  • Freely selecting up to 5 tags to include in the video file name.

  • Using FFprobe to extract the video resolution and append it to the name.

  • Including the rating from Stash.

The main goal of this tab is to help you store your data more consistently on your hard drive, making it easier to find files even if you are not using Stash.

Let me know if you encounter any issues or have feedback.

I tested it, edited and made more options.

I made a quick UI Update as well, version 1.1.2

And I didn’t find any issues on my test environment. It works as it should.
Feel free to test it; it’s now the first final version and product-ready. I’ve also tested it on the newest Stash update.

And don’t forget, after you change file names or file path on your disk, first scan in stash so its update it and then you can use clear. Never the other way around.

And if you have any feedback, especially about user-friendly UI, let me know.

V1.1.3

  • Performance Update: fewer lags while working with CSV
  • The tag change option is more obvious
  • Add an undo button for the last disk action
  • Lightmode update
  • Batch for creating a one-file exe
  • Add an exe to release

v1.2.0
Ui Update
CSV workperformance improved
Add an onefile .exe

  • Ui-Update for Schema names tab.

  • Fixed Tag replacing logic

  • Fixed minor bugs

  • Add an “i” box for explanations if needed.

Fixed some Bugs

Now you can use undo 32 times to the past.

Rename Tab:

  • fixed a critical bug

  • added a checkbox → so changees work for seleteced items only

  • added extension search in csv

  • added batch rename for selected files. In same folder it gets “Video_suffixnr”

Schema Rename:

  • Added Scene ID instead of Scene Title

  • You can open a scene with right click → open in stash

Release v1.2.2

Release v1.2.3

For better disk cleaning added 2 new Tabs

Name Sync

  • only rename files on the target folder

  • checks for duplicates between source and target

  • can delete duplicates

  • dry run for testing

File Sync

  • can copy & overwrite

  • two mods just add files to target or make a strict copy

  • shows files that could be added to target

  • You can send files via rightclick to Scheme tab and add Tags before copy

  • dry run test

Onefile exe in this release with the updates