11 lines
307 B
Bash
Executable File
11 lines
307 B
Bash
Executable File
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"
|
|
|