Fixing issue with torrent scanning.
This commit is contained in:
parent
5a161ce476
commit
29709b7705
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue