cloudcmd
cloudcmd copied to clipboard
Copy recursive preserving permissions
Hello, how can I copy a folder preserving atributes like doing cp -pr in terminal? When I copy a file or folder it changes the file attributes
Thanks a lot Rodrigo
There is now such a feature, but that's a good idea for a PR https://github.com/coderaiser/redzip/blob/master/lib/local/index.js#L35-L57
It should work for local files (no zip) https://github.com/coderaiser/redzip/blob/master/lib/local/index.js#L50-L52
https://github.com/coderaiser/node-copymitter/blob/master/lib/copymitter.js#L223-L230
thanks how can I implement that?
As I see it should just work, is it works for you @rodrigohess?