badsos.blogg.se

Wsl windows terminal starting directory
Wsl windows terminal starting directory










To do this, you must have Windows 10 installed on your PC.

wsl windows terminal starting directory

Use rsync to back up a folder on your windows PC to another folder on a different disk on the same PC And in this distribution, to run rsync.Įnable WSL and install a Linux distribution of your choice Still, I wanted to be able to back up my precious collection of Georges Brassens, Serge Gainsbourg, and Renaud.Īnother solution is to install a full Linux virtual machine on the windows host, but that's really using a sledgehammer to crack a nut, and a complete waste of time and resources, especially disk space.īut now is the future! it's finally possible to run a Linux distribution on Windows 10 using Windows Subsystem for Linux (WSL).

wsl windows terminal starting directory

But I got some issues, for example when dealing with filenames with weird characters like the French accents. There were a few solutions, like running rsync with cygwin. The only drawback with this perfect backup tool is that it's not available on windows. : I never had any issue with it, and you can test what rsync will do with the dry run option before doing it. : for example, you can make backups to a remote machine, logging in as a different user. To use: one command is enough to synchronize a whole directory : it uses the size and modification times of the files to decide which files need to be transferred. If you're here, it's because you're desperately looking for a solution to run rsync on windows, so you probably know already that rsync is: , a tool that can synchronize the contents of two directories.

wsl windows terminal starting directory

And every time, I told myself that this would not happen ever again.Īt some point, I found the solution for macs and Linux computers: I can't count how many times I've lost files because I was too lazy to set up a proper backup.












Wsl windows terminal starting directory