Printing file/folder structure....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newbreed
    Confirmed User
    • Nov 2003
    • 9898

    #1

    Printing file/folder structure....

    Anyone know of a good utility to print the folder/file structure of a domain?

    For ex...

    I have a server that has 61 domains. I want to print a list of the structure of each of those domains. When i log in through FTP, I see a list of folders (each domain has it's own folder). I want to select a domain and print a comlete lise of the folder structure.

    Thanks,
    Bill

    Loryn ‎(3:16 PM):
    I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
    fuck it we can have sex on money never did that before
  • SpoinkDexter
    Confirmed User
    • Feb 2004
    • 111

    #2
    Hello there,

    Do you have telnet access?

    Spoink

    Comment

    • newbreed
      Confirmed User
      • Nov 2003
      • 9898

      #3
      I do, but i prefer FTP.

      Loryn ‎(3:16 PM):
      I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
      fuck it we can have sex on money never did that before

      Comment

      • SpoinkDexter
        Confirmed User
        • Feb 2004
        • 111

        #4
        Can't help you with an ftp program unless you want to do it one directory at a time. If you know what part of the structure you want, try this:

        ls /web > mydir

        use whatever parameters you like with the "ls" command (Do a google search if you need help with it) and name the output file whatever you like.

        If you need more help, let me know.

        Spoink!

        Comment

        • newbreed
          Confirmed User
          • Nov 2003
          • 9898

          #5
          Originally posted by SpoinkDexter
          Can't help you with an ftp program unless you want to do it one directory at a time. If you know what part of the structure you want, try this:

          ls /web > mydir

          use whatever parameters you like with the "ls" command (Do a google search if you need help with it) and name the output file whatever you like.

          If you need more help, let me know.

          Spoink!
          I think you're talking about command line commands. I am just looking for something (like another FTP client) that will print my "Server View". I have an ass load of domains, folders, and files. I get confused within a couple of minute because i get 3 or 4 folder levels deep when i go lookg for shit.

          I just want something that will list and print the directories, and folder by folder is fine.

          Thanks again,
          Bill

          Loryn ‎(3:16 PM):
          I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
          fuck it we can have sex on money never did that before

          Comment

          • SpoinkDexter
            Confirmed User
            • Feb 2004
            • 111

            #6
            Originally posted by newbreed


            I think you're talking about command line commands. I am just looking for something (like another FTP client) that will print my "Server View". I have an ass load of domains, folders, and files. I get confused within a couple of minute because i get 3 or 4 folder levels deep when i go lookg for shit.

            I just want something that will list and print the directories, and folder by folder is fine.

            Thanks again,
            Bill

            Howdy Bill,

            Tell you what, lets start at the beginning:

            Telnet = command line It is just like sitting in front of your server with a keyboard.

            Yes I am talking command line.

            If you are afraid you will telnet in and fuck something up, don't sweat it.

            As far as I know all the major FTP programs will only do this one directory at a time.

            There is a VERY simple way to accomplish what you want.

            1) Telnet into the server.

            2) Get to the highest directory you want to map. In other words of all your domains start in the "/home" directory you could type "cd /home" (without the quotes) to get there.

            3) Type or copy and paste this:

            du -h >directorylist.txt

            4) ftp in and download the file you just made.

            5) View it in a text file or print it, and you will always have a map of where you are.

            Now isn't that easy?

            Just try it and see. It does just what you are after, as I use it to do the same thing.

            Spoink

            P.S. If you need further help, let me know.

            Comment

            Working...