Fixing issue with torrent scanning.

This commit is contained in:
Dessalines 2019-12-16 12:15:41 -07:00
parent 5a161ce476
commit 29709b7705
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ done
# Split these into many directories ( since torrent-tracker-health can't do too many full size torrents) # Split these into many directories ( since torrent-tracker-health can't do too many full size torrents)
cd $tmp_torrent_dir cd $tmp_torrent_dir
# i=1;while read l;do mkdir $i;mv $l $((i++));done< <(ls|xargs -n100) # i=1;while read l;do mkdir $i;mv $l $((i++));done< <(ls|xargs -n100)
ls|parallel -n100 mkdir {#}\;mv {} {#} ls|parallel -n10 mkdir {#}\;mv {} {#}
for tmp_torrent_dir_sub in *; do for tmp_torrent_dir_sub in *; do
echo "sub dir:$tmp_torrent_dir/$tmp_torrent_dir_sub" echo "sub dir:$tmp_torrent_dir/$tmp_torrent_dir_sub"