torrents.csv/scripts/scan_torrent_files.sh

11 lines
307 B
Bash
Raw Normal View History

torrent_files_json="`pwd`/../torrent_files.json"
# Scan the torrent_files.json for already scanned torrents
# Disjoint the ones there with the ones in your torrent scan dir
# Run the js read-torrent in that dir, and update the torrent_files.json with the new ones
node scan_torrent_files.js --dir "$1"