Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Why am unable to create another directory using perl?

by finddata (Sexton)
on Mar 15, 2017 at 06:29 UTC ( #1184651=note: print w/replies, xml ) Need Help??


in reply to Re: Why am unable to create another directory using perl?
in thread Why am unable to create another directory using perl?

Is it possible to copy files without directory structure?
chdir $output_dir; mkdir 'html',0755; `find . -name '*.html' | cpio -pdm html`; chdir $output_dir; mkdir 'htmlfiles',0755; `cp -r html htmlfiles`;
Here it copies along with directory structure

Replies are listed 'Best First'.
Re^3: Why am unable to create another directory using perl?
by soonix (Abbot) on Mar 15, 2017 at 07:23 UTC
    What about files in different directories that have the same name?
    (Most prevalent probably index.html)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1184651]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2020-01-24 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?