I know that we can copy things from one directory to another using the command:
cp -Ri /path/one/* /path/two/*
Here:
R = recursive
i = interactive
My questions:
- Does this command copy everything? (Hidden folders & files, system folder & files, etc.)
- If not, then what is the command? Or are there other softwares available for the job?
cp -Ri /path/one/ /path/two/
Does this do the job? Or do I have to necessarily type the second and third commands? – rtecxs Mar 18 '16 at 21:45/path
as well. Enabledotglob
in bash instead. – muru Mar 18 '16 at 21:47.*
. And.*
expands to include..
, which is where the problem lies. – muru Mar 18 '16 at 21:49