Thread
:
creating a directory file..
View Single Post
05-17-2004, 05:38 PM
beergood
Confirmed User
Join Date: Jun 2003
Location: United States
Posts: 2,918
prog:
----
#!/usr/bin/perl
$path = @ARGV[0];
system("ls -al $path > output.txt");
--
execution
./program.pl /path/you/want/to/list/
should work.
beergood
View Public Profile
Find More Posts by beergood