Page 1 of 2 12 LastLast
  1.    1 Week Ago #1
    Join Date : Aug 2015
    Posts : 40
    Windows 10 Pro 64bit

    Can't copy linux files to NAS, what can i do?


    hello! i'm trying to copy a folder (using file explorer) from my USB drive (NTFS) that contains linux files, to my NAS drive (EXT4). the copy process stops on a file with ":" in the file name and the message "the filename you specified is not valid or too long". i suspect this has to do with windows not liking the special character, and i've discovered quite a few of these special character files in the folder i'm trying to copy, so manual file renaming isn't ideal.

    i tried copying the folder from a ubuntu live cd but it stops on files with the message "symlinks not supported by backend", so i'm stuck trying to figure out a way to do this folder copy in one shot without having to resort to manual efforts like file renaming- does anyone know of a way that i can make this folder copy happen?

    many thanks!
      My ComputerSystem Spec
  2.    6 Days Ago #2
    Join Date : Apr 2014
    Space coast of Florida
    Posts : 5,581
    Windows 10 Pro X64 16299.125

    Do it under Linux?
      My ComputersSystem Spec
  3.    6 Days Ago #3
    Join Date : Aug 2015
    Posts : 40
    Windows 10 Pro 64bit
    Thread Starter

    i tried copying the folder from a ubuntu live cd but it stops on files with the message "symlinks not supported by backend"
    do you know of another linux option that can get past this?
      My ComputerSystem Spec
  4.    6 Days Ago #4
    Join Date : Oct 2017
    Posts : 195
    Win10

    I'm guessing you're transferring the files over Samba, which is a Microsoft protocol and has no concept of symlinks.

    Do you need to preserve the symlinks?
      My ComputerSystem Spec
  5.    6 Days Ago #5
    Join Date : Aug 2014
    Australia, Adelaide
    Posts : 1,610
    W7 Ultimate SP1 (64 bit), LM 18.3 MATE (64 bit), W10 Home (64 bit)

    How are you trying to copy the files?

    You shouldn't get a message about symlinks unless there are items in the folder that are actually links (i.e. the files aren't in the folder).

    I'm not sure what file manager Ubuntu uses, but assuming it allows it, check the "Type" column.
    Here is a screenshot from Caja in Linux Mint MATE:

    Click image for larger version. 

Name:	LM18 - Caja Link.png 
Views:	2 
Size:	148.6 KB 
ID:	172461

    Try creating a new folder on the destination drive and then copy the files from inside the source folder (rather than copying the folder itself).
      My ComputerSystem Spec
  6.    6 Days Ago #6
    Join Date : Aug 2015
    Posts : 40
    Windows 10 Pro 64bit
    Thread Starter

    ideally, i'd like to get everything copied over in one shot, so if i can keep everything as is then that would be great.

    i'm using the default file manager in ubuntu (sorry, can't remember the name), right-click folder and copy, then pasting in the destination directory on the NAS. i think these "symlink" files that ubuntu is stopping on are spread throughout the folder structure, ie they don't just reside in one folder.. is there some way to force ubuntu to copy these files, or another live cd option that allows copying these symlink files?
      My ComputerSystem Spec
  7.    6 Days Ago #7
    Join Date : Oct 2017
    Posts : 195
    Win10

    Can you mount your NAS using NFS instead of SMB?
      My ComputerSystem Spec
  8.    6 Days Ago #8

    Quote Originally Posted by Matt26 View Post
    do you know of another linux option that can get past this?
    Hi there @Matt26

    download GRSYNC on your Linux system / live distro and simply copy the directories / files --works a treat

    (Mount the two HDD's first before trying the copy -- easy these days as root or sudo : mount /dev/your HDD -t auto -o rw /mnt/your mountpoint)

    the auto parameter saves you even having to know the file type -- for linux read / write to NTFS files install package ntfs-3g. Fat32 is natively supported anyway. Some distros might have ntfs-3g installed by default.

    Click image for larger version. 

Name:	snapshot6.png 
Views:	1 
Size:	221.5 KB 
ID:	172475

    on UBUNTU

    Grsync Ubuntu Apps Directory

    on CENTOS / FEDORA just use YUM INSTALL from the nux-dextop repo. I won't go into details here as this is Windows Forum but it's easy enough.

    If you copy whole directory --remember to add the '/' in the FROM directory at the end. Note this program can also only copy files that don't exist on the target and loads of other options too --very useful indeed.

    (Grsync is a GUI front end for rsync)


    I'm using KDE desktop but GNOME/MINT should also be OK - the standard file manager on KDE is Dolphin - on GNOME it's Nautilus I think. There's live kde centos distro if you need a quick live distro from the rolling release web site -- you will need to install ntfs-3g for NTFS file read / write if you need that option. If you can mount the directories you wont need samba on the live distro for the copy. To get grsync you will have to install the nux-dextop repo -- plenty of decent documentation on Google.

    For CENTOS 7 Rolling release - pick KDE live

    Index of /rolling/7/isos/x86_64

    Cheers

    jimbo
    Last edited by jimbo45; 6 Days Ago at 05:14.
      My ComputerSystem Spec
  9.    5 Days Ago #9
    Join Date : Aug 2015
    Posts : 40
    Windows 10 Pro 64bit
    Thread Starter

    i tried this from the ubuntu 17.10 live cd, can't get it to work- ubuntu software shows no results for GRSYNC (i can search for and find other stuff) and firefox can't resolve the above link- do i need some prerequisites? can GRSYNC be installed in a live cd session?
      My ComputerSystem Spec
  10.    5 Days Ago #10

    Quote Originally Posted by Matt26 View Post
    i tried this from the ubuntu 17.10 live cd, can't get it to work- ubuntu software shows no results for GRSYNC (i can search for and find other stuff) and firefox can't resolve the above link- do i need some prerequisites? can GRSYNC be installed in a live cd session?

    Hi there
    @Matt26

    I'll try it from live CENTOS session later then I can send you the exact steps. Even if you aren't a regular Linux user this is fairly straight forward to do.

    I'm going to be outside installing LAN cable for a while - then will do the test for you - I've been kicked out of the main house for having too many cables, wires, bits of computer hardware, old monitors etc around the place !!! so I've been relegated to my shed which I use as an office anyway.

    "She who must be obeyed" said --I'm sick of this stuff -- OUT or I'm going to toss it all in the trash !!!!.

    Cheers
    jimbo
      My ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Unrar - extract / list .RAR files in Linux (VM or Host)
Hi there. some of you running Linux VM's might want to be able to UNRAR some RAR files directly in Linux without having to access the files on your Windows system and extract / view via 7Z or other programs. Other types of archives such as zip...
Virtualization
Solved How do I copy files with the same name and keep both
I'm trying to copy photos off my iPhone into my folders on my laptop and per Apple's ridiculous system, some of the photos have the same name. When I try to copy them, Windows 10 only gives me two options for files with the same name: replace or do...
General Support
Solved w10 shared files editable but cannot copy new files from network
I've a w10 setup for file sharing. On the client side (the other computer on the network) I can create a file and save it on the w10. No problem. This was not easy as y'all know but I got that to work, finally.:really: The remaining problem is...
Network and Sharing
Do not change Linux files using Windows apps and tools
Source: Do not change Linux files using Windows apps and tools Windows Command Line Tools For Developers
Windows 10 News
Windows 10 build 14251 has Linux subsystem files, what could it mean?
Read more: Windows 10 build 14251 has Linux subsystem files, but what could it mean? WinBeta
Windows 10 News
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:05.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums