cp -a -v -u ....
cd / && tar -pczvf Home_Backup.tar.gz /home
cd / && tar -pzxvf /path/to/archive.tar.gz
sudo cp -a -v -u /home/* /mnt/newhome/
cp -a -v -u /home/* /mnt/newhome/
No Such operations are preferrably done as root or else you could run into "permission denied" errors ... Either use sudo or switch into root proper (e.g. via sudo su - ...)NiksaVel wrote:(without sudo)...
Wrong The man page is your friend. cp -a -v -u is just fine ... You may want to read about what the "-a" parameter doesBoo wrote:the sudo will set all ownership of the files/directories to root.
Users browsing this forum: PascP and 3 guests