Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upLinux to Windows file copy same name #1976
Comments
andrewdavidwong
added
the
duplicate
label
May 10, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Duplicate of #1772. |
andrewdavidwong
closed this
May 10, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Jeeppler
May 10, 2016
@andrewdavidwong: this is not the same as #1772 this is a Linux -> Windows issues. Windows does not differentiate between upper and lower case letters in file names and Linux does. This means even if document.pdf and Document.pdf are two different files on a Linux VM. Windows will complain.
#1772 handles another more general use case if files already exist, but both are not a duplicate.
Jeeppler
commented
May 10, 2016
•
|
@andrewdavidwong: this is not the same as #1772 this is a Linux -> Windows issues. Windows does not differentiate between upper and lower case letters in file names and Linux does. This means even if document.pdf and Document.pdf are two different files on a Linux VM. Windows will complain. #1772 handles another more general use case if files already exist, but both are not a duplicate. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
From Windows point of view, the issue is the same. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
May 10, 2016
Member
@Jeeppler: It's not a duplicate in the sense that they describe precisely the same issue, but it's a duplicate in the sense that any good solution to #1772 should also solve this issue. There's no reason to implement a Windows-specific solution to this problem when a more general solution for all VM types will work just as well (or better).
|
@Jeeppler: It's not a duplicate in the sense that they describe precisely the same issue, but it's a duplicate in the sense that any good solution to #1772 should also solve this issue. There's no reason to implement a Windows-specific solution to this problem when a more general solution for all VM types will work just as well (or better). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Jeeppler
commented
May 10, 2016
|
@andrewdavidwong that is true |
Jeeppler commentedMay 10, 2016
•
edited
Edited 1 time
-
Jeeppler
edited May 10, 2016 (most recent)
Qubes OS version (e.g.,
R3.1): 3.1Affected TemplateVMs (e.g.,
fedora-23, if applicable):Expected behavior:
Renaming of the second file to filename-copy.extension
Actual behavior:
File exists error -> copy process aborts
Steps to reproduce the behavior:
Copy first Document.pdf to Windows VM and then copy document.pdf or the other way around.
General notes:
Windows does not make a difference between lower case and upper case file names. For example document.pdf and Document.pdf is the same file under Windows.
In Linux on the other hand document.pdf and Document.pdf are two different files.
It would be nice if the qubes-copy-to-vm tools could handle this transparently and rename the second file if the copy target VM is a Windows VM to filename-copy.extension. For example rename document.pdf to document-copy.pdf, if Document.pdf is already in the folder.
Relevant labels: Windows, Linux, Copy, Paradigm Problem