Skip to content

ionotifywait event? #427

Answered by 9001
ndrake asked this question in Q&A
Discussion options

You must be logged in to vote

Copyparty will open and close the file serveral times during the upload, so that makes sense -- copyparty's event-hooks can help, that's the most reliable way to perform an action after an upload has completed through copyparty.

I'd suggest uploading the files to another folder when you're doing so with copyparty, and make a hook to move the uploads into your original folder when they're done; that should trigger the inotifywait. Or you could keep the two folders entirely separate, and use inotifywait-based events for sftp uploads, and have a copyparty hook perform the same actions for the copyparty folder.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ndrake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants