/ Published in: Bash
URL: http://www.rebol.net/cookbook/recipes/0011.html
Expand |
Embed | Plain Text
copy-dir: func [source dest] [ if not exists? dest [make-dir/deep dest] foreach file read source [ either find file "/" [ copy-dir source/:file dest/:file ][ print file write/binary dest/:file read/binary source/:file ] ] ]
Comments
Subscribe to comments
You need to login to post a comment.

Now you can write: