@conuyoneje wrote:
Hi
I'm downloading torrents file and storing them in local directory, then I want to find smaller then 15GB and upload them via SFTP to Watch dir on remote server.
I though that "content_size" should be able to read a torrent file and reject torrents that doesn't satisfy requirementsupload: disable: seen filesystem: torrents content_size: max: 15000 strict: no sftp_upload: host: 'xxx.xxx.xxx.xxx' username: 'xxxxx' private_key: ~/.ssh/id_rsa to: '/var/lib/transmission/Watch/' exec: - rm "{{location}}"
Unfortunately my code uploads all torrent to remote server.
What I'm missing?
Posts: 1
Participants: 1