Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefixing files with a folder causes continuous recursive arc-welding on newly generated files #258

Open
tomelm opened this issue Jun 17, 2023 · 1 comment

Comments

@tomelm
Copy link

tomelm commented Jun 17, 2023

Hi! I was trying to have arc welder put all newly generated files into a folder (instead of having them be in the same one).

In settings, I put a prefix of aw/ which correctly puts the files in a newly generated folder. However if I have automatic on, it detects a new file and then runs arc welder on it again, which creates a new aw/ folder (within the aw/ folder). This seems to happen recursively so that I end up with aw/aw/aw/.../file unless I stop it. For now I've disabled automatic mode (everything works great with just manual).

@numericOverflow
Copy link

I wonder if this is related to the same root issue that I'm having here: #259 - Arcwelder script gets run on files when moved (not just at upload)

It would make sense that every time the new subfolder file is generated, the script is getting run the same way I encounter when simply moving a file from one folder to another. Somehow the script execution is attached to a "file create hook" and not an "upload hook" (if that is such a thing, I'm just speculating...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants