I backed up some linux configuration files to a windows machine, so the file system rights were lost. Now I would like to restore my backed up configuration by overwriting the configuration currently present on the linux machine. Is there a command like "overwrite configuration.conf with backup/configuration.conf and apply the file rights of the overwritten configuration.conf to the new configuration.conf" ? Thanks for any hint :-)
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
You can use
Put all this in a for-loop.
|
||||
|