![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
|
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.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: May 2004
Location: Spain
Posts: 1,349
|
so what is it you are looking for or were you just posting to let us know what you were doing
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
|
need a program or if anyone knows any fast ways to have all the files listed in a directory output into a txt file
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
|
anything like this exist or am i giong crazy thinking there was something lol
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2002
Location: Los Angeles
Posts: 6,102
|
Why don't you download them first and get a Mass File Renamer?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2002
Location: Canada
Posts: 2,370
|
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
__________________
"People can have the Model T in any color - so long as it's black." - Henry Ford |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Reach for those stars!
Industry Role:
Join Date: Apr 2003
Location: Vancouver, BC
Posts: 17,991
|
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.
__________________
email: [email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Reach for those stars!
Industry Role:
Join Date: Apr 2003
Location: Vancouver, BC
Posts: 17,991
|
Quote:
I'm sure you could put it in a nice little script/batch pgm, non?
__________________
email: [email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Feb 2002
Location: Michigan
Posts: 5,998
|
![]() Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
|
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Join Date: Jun 2003
Location: United States
Posts: 2,918
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Join Date: Jun 2003
Location: United States
Posts: 2,918
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
|
n/m got it
![]() ![]() thnx for the help though ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Confirmed User
Join Date: Jun 2003
Location: United States
Posts: 2,918
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Confirmed User
Join Date: Jun 2003
Location: United States
Posts: 2,918
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
|
Quote:
![]() ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |