Copy to a shared folder and keep line breaks
Posted: 11. Mar 2015, 03:56
This might be a more general linux question than a virtualbox question, but I am new to linux so I am not sure.
I run a cp command with the -a flag to copy a folder to the shared folder with my host, Windows 7.
The problem is the line breaks in files are not interpreted as line breaks on Windows. Is there a cp flag or vbox command (or anything else) I can use to replace line breaks when copying to a shared folder?
I run a cp command with the -a flag to copy a folder to the shared folder with my host, Windows 7.
Code: Select all
sudo cp -a path/to/guest/file /path/to/shared/folder