cloudcmd icon indicating copy to clipboard operation
cloudcmd copied to clipboard

Copy recursive preserving permissions

Open rodrigohess opened this issue 1 year ago • 3 comments

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

rodrigohess avatar Oct 28 '23 23:10 rodrigohess

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

coderaiser avatar Oct 29 '23 19:10 coderaiser

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

coderaiser avatar Oct 29 '23 19:10 coderaiser

thanks how can I implement that?

rodrigohess avatar Oct 29 '23 19:10 rodrigohess

As I see it should just work, is it works for you @rodrigohess?

coderaiser avatar Mar 29 '24 06:03 coderaiser