Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default New Folder Creation

    Can someone point me in the right direction to find a simple script that
    will automate the creation of folders as needed?

    I've looked but can't find what I need.

    Pardon my ignorance,
    James

    James Browning Guest

  2. Similar Questions and Discussions

    1. Folder creation
      Is it possible to create a folder on the server through the Contribute 3 interface?
    2. Extension Creation - mxi file does not create folder
      Well... Here we are again 9 months later and it seems as tough Dreamweaver 8 does not support: dw.getUserConfigurationPath() So... How...
    3. Intercept the auto-refresh of a folder in HTML folder template
      Can anyone please send me the code to intercept the auto-refresh of a web page or folder (controlled by HTML folder template), or tell me where can...
    4. Folder creation up to an invalid path
      Hi This might be a strange problem...One of my folder has been recreated several times in to depth of its path and now i am unable to delete the...
    5. dynamic creation folder while preview report
      dear sir i wanted to create the folder of today date by default in c driver under c:\reports folder..i hve tried mkdir, dir with vbdirectory but...
  3. #2

    Default Re: New Folder Creation

    James Browning wrote:
    >
    > Can someone point me in the right direction to find a simple script that
    > will automate the creation of folders as needed?
    >
    > I've looked but can't find what I need.
    Hi James.

    Well, it depends on what you mean by 'as needed'. The 'mkdir'
    built-in will create a directory for you.

    perldoc -f mkdir

    Beyond that I can't help without more details.

    Cheers,

    Rob


    Rob Dixon Guest

  4. #3

    Default RE: New Folder Creation

    Browning, James wrote:
    > Can someone point me in the right direction to find a simple script
    > that will automate the creation of folders as needed?
    See also the standard File::Path module.
    Bob Showalter Guest

  5. #4

    Default Re: New Folder Creation


    On Dec 2, 2003, at 8:46 AM, Browning, James wrote:
    > Can someone point me in the right direction to find a simple script
    > that
    > will automate the creation of folders as needed?
    how exactly are you defining

    'as needed'???

    I have a cron job that I use to traverse where
    my blog has plonked stuff, and do sym-links to
    the blog_archive so that they can be found by
    web-bots: cf

    <http://www.wetware.com/drieux/pbl/Sys/FS/blog_archive.txt>

    I run it from cron.


    ciao
    drieux

    ---

    Drieux Guest

  6. #5

    Default Re: New Folder Creation

    Bob Showalter wrote:
    >
    > Browning, James wrote:
    > > Can someone point me in the right direction to find a simple script
    > > that will automate the creation of folders as needed?
    >
    > See also the standard File::Path module.
    Of course you're probably right Bob. 'As needed' is likely
    to mean the creation of an entire tree of directories. A lot
    of Unix mkdir calls will do this anyway (but can this be
    accessed through Perl, anybody?). But on VMS, Mac and Windows
    File::Path::mkpath' does the job excellently.

    This thread is the horse I'm backing :)

    Rob


    Rob Dixon Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139