我需要通過命令行運行腳本,但運行腳本所需的文件需要我在腳本的目錄中。但是我無法爲每個需要運行的命令行做到這一點。他們超過五千人。有人可以告訴我如何輕鬆地格式化列表或添加一些可以使其運行的格式。我有這樣的東西....我需要通過命令行運行PHP腳本,但發生這種情況
php /path/to/the/script/01240/script.php
php /path/to/the/script/03770/script.php
php /path/to/the/script/02110/script.php
php /path/to/the/script/02380/script.php
php /path/to/the/script/03220/script.php
php /path/to/the/script/02340/script.php
php /path/to/the/script/03720/script.php
php /path/to/the/script/03460/script.php
php /path/to/the/script/0180/script.php
php /path/to/the/script/02000/script.php
php /path/to/the/script/01830/script.php
php /path/to/the/script/0980/script.php
php /path/to/the/script/0400/script.php
php /path/to/the/script/02750/script.php
php /path/to/the/script/0760/script.php
php /path/to/the/script/02690/script.php
.....並且它繼續5000多行。
我只是進出目錄,但我無法編輯該列表。它太長了。 – user355367 2010-06-05 14:32:36