Link to home
Start Free TrialLog in
Avatar of anthony
anthony

asked on

How do I move a directory and subdirectory to overwrite another directory in unix

How do I move a directory and subdirectory to overwrite another directory in unix....
I'm unable to use the move command. Here's an example of what I'm trying to do.
>pwd
/var/opt/OV/opt/OV
mv HPOvLIC /var/opt/OV
This doesn't replace the directory under /var/opt/OV

what command can use to do this
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

What do you mean by overwrite ? why don't you remove that subdir and then move?
ASKER CERTIFIED SOLUTION
Avatar of Brian Utterback
Brian Utterback
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial