Last active
December 31, 2017 02:52
-
-
Save halllllll/fbd73c96ad145ed5658203fec2f0b689 to your computer and use it in GitHub Desktop.
「urlの羅列.txtを一行ずつ読んでscdlに渡す、同時に何行目かを出す」をシェルで
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
length=`wc -l < ファイルのパス` | |
cur=1 | |
for line in `cat ファイルのパス `; do echo "${cur}/${length}"; cur=`expr ${cur} + 1`; scdl -l ${line} -c; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment