I want to merge the contents of a directory with the base of the file system with rsync. I ran the command
Code:
sudo rsync -lrtva my_dir/ /
This bricked the server. I retried the same task on another server by running the command
Code:
sudo cp -d my_dir/path_N/file_N /path_N/file_N
on every file. This server did not brick.
What did I do wrong? Do the two methods not produce the same result? Note that "my_dir" contains arbitrary system critical files.