![]() |
creating a directory file..
need to be able to take a selected directory on my ftp and have it output every file into a .txt list format
ie a.jpg b.jpg c.jpg and so forth.. |
so what is it you are looking for or were you just posting to let us know what you were doing
|
need a program or if anyone knows any fast ways to have all the files listed in a directory output into a txt file
|
anything like this exist or am i giong crazy thinking there was something lol
|
Why don't you download them first and get a Mass File Renamer?
|
in Unix, log into the shell (use a telnet or ssh program)
ls >> filelist.txt once you are in the directory you want. It will create filelist.txt with all the filenames. I personally like ls -al >> filelist.txt That's assuming you know how to move around in unix. ZoiNk |
Quote:
That's a Unix command.. where are our Unix geeks? Surely they are somewhere. I'm having flashbacks to grep and whatnot, but can't remember the syntax. |
Quote:
I'm sure you could put it in a nice little script/batch pgm, non? |
Quote:
|
Quote:
|
anyone care to tell me what prefix i put beside "dir" in dos.. just did dir /? and cant see anything where a command would be to write to a file
|
prog:
---- #!/usr/bin/perl $path = @ARGV[0]; system("ls -al $path > output.txt"); -- execution ./program.pl /path/you/want/to/list/ should work. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
n/m got it :) dir > textfilename.txt :)
thnx for the help though :) |
Quote:
|
Quote:
|
Quote:
|
All times are GMT -7. The time now is 02:24 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123