happy wrote:
> i want to know any command or software for copy file and directory with
> permission to target location.
$ man cp
-a, --archive
same as -dpR
-d same as --no-dereference --preserve=link
-p same as --preserve=mode,ownership,timestamps
--preserve[=ATTR_LIST]
preserve the specified attributes (default: mode,owner-
ship,timestamps), if possible additional attributes: links, all
-R, -r, --recursive
copy directories recursively
...
So, it looks like you probably want
$ cp -a source target
-- Rex
|