For those unfamiliar, Windows 10 introduced Windows Subsystem for Linux: https://msdn.microsoft.com/en-us/commandline/wsl/about
Accessing Windows files from this subsystem is strait-forward, but not the opposite way. If I try to copy files with TC to Linux subsystem, I cant see the files later in bash.
So I was thinking to make custom buttons in TC to execute bash commands on selected files, as a workaround, like `bash -c "cp src dest"`
Does anyone have a better idea?
Win10 'Windows Subsystem for Linux': copy/move TC-button?
Moderators: Hacker, petermad, Stefan2, white
Well, this is a relatively new function which probably needs better support in TC. Special functions for a simple copy should not be required. I'd suggest to let Christian play a little bit with it and improve TC's native support. Also, MS will probably enhance it even more, so i'm guessing / hoping in the future, more and better functions will be provided to programs such as TC, resulting in better support for the Linux subsystem.
As said in the link you provided:
As said in the link you provided:
This is provided as beta software. While many of the coreutil commands provided by Ubuntu will work, there are some that will not. We welcome feedback and will prioritize accordingly.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC uses Windows function CopyFileEx() to copy files by default. Apparently CopyFileEx doesn't seem to support the subsystem for Linux. Do you know any functions which support it?Accessing Windows files from this subsystem is strait-forward, but not the opposite way. If I try to copy files with TC to Linux subsystem, I cant see the files later in bash.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Unfortunately not.
According WSL overview (https://blogs.msdn.microsoft.com/wsl/2016/04/22/windows-subsystem-for-linux-overview/):
According WSL overview (https://blogs.msdn.microsoft.com/wsl/2016/04/22/windows-subsystem-for-linux-overview/):
File system support in WSL was designed to meet two goals.
1. Provide an environment that supports the full fidelity of Linux file systems
2. Allow interoperability with drives and files in Windows
The Windows Subsystem for Linux provides virtual file system support similar to the real Linux kernel. Two file systems are used to provide access to files on the users system: VolFs and DriveFs.
...
Interoperability between Windows applications and files in VolFs is not supported.
ghisler(Author) wrote:Found this.Apparently CopyFileEx doesn't seem to support the subsystem for Linux. Do you know any functions which support it?
- ghisler(Author)
- Site Admin
- Posts: 50918
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2Hurdet
That's not the problem here - the link lists function which copy files on Linux. The question is about the Linux subsystem on Windows. And it's not about copying with a Linux program within that subsystem, but copying files from Windows to that Linux subsystem...
That's not the problem here - the link lists function which copy files on Linux. The question is about the Linux subsystem on Windows. And it's not about copying with a Linux program within that subsystem, but copying files from Windows to that Linux subsystem...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com