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

Add torrents in bulk #240

Open
PetiAPocok opened this issue Nov 5, 2023 · 9 comments
Open

Add torrents in bulk #240

PetiAPocok opened this issue Nov 5, 2023 · 9 comments

Comments

@PetiAPocok
Copy link

PetiAPocok commented Nov 5, 2023

I can't (or couldn't figure it out how to) add torrents in bulk. Like, : add path/to/torrent/file.torrent path/to/other/torrent/file.torrent works, but path/to/torrent/* doesn't. It says "Torrent file is corrupt or doesn't exist".

@rndusr
Copy link
Owner

rndusr commented Nov 5, 2023 via email

@PetiAPocok
Copy link
Author

PetiAPocok commented Nov 6, 2023

Only torrent files in that directory. I even renamed them to check if some of the characters are messing with it.
0.torrent, 1.torrent, 3.torrent, 4.torrent, 5.torrent, 6.torrent
But no. Same error. With *, too.
add: Torrent file is corrupt or doesn't exist: '/media/[user_name]/HDD/tor/*'
add: Is a directory: /media/[user_name]/HDD/tor
add: Torrent file is corrupt or doesn't exist: '/media/[user_name]/HDD/tor/*.torrent'

@rndusr
Copy link
Owner

rndusr commented Nov 6, 2023 via email

@PetiAPocok
Copy link
Author

PetiAPocok commented Nov 6, 2023

On the web interface, it was never a problem.
transmission-remote -a /media/[user_name]/HDD/tor/*
localhost:9091/transmission/rpc/ responded: "success"

@PetiAPocok
Copy link
Author

Oops... When I checked it I noticed ,it only added one of the 7...

@rndusr
Copy link
Owner

rndusr commented Nov 6, 2023 via email

@PetiAPocok
Copy link
Author

But one-by-one all is working fine.

@rndusr
Copy link
Owner

rndusr commented Nov 7, 2023 via email

@PetiAPocok
Copy link
Author

PetiAPocok commented Nov 8, 2023

Well I appreciate the suggestions.
I wish you easier times!
I will wait for an update, but until then I'll put together a script that will add all the torrents in the dir with transmission-cli.

#!/bin/bash
for file in *
do
transmission-remote -a "./$file"
done

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