cross-posted from: https://lemmy.ml/post/9729797

I am needing to transfer a singular file of roughly 4.8GB from Linux Mint onto a thumb drive, so that I can transfer it to my Windows install on a separate partition on the same PC. However, it has repeatedly failed after 4.3GB, with an error message reading “Error splicing file: File too large”.

How do I fix this issue, or get around it? I need that file moved.

  • bartolomeo@suppo.fi
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    If the destination is on the same PC you don’t need the USB stick. I know Windows can have a lot of unexpected behaviour with Linux so I would boot into a live session and transfer the file from there, for example if you have the file at

    /dev/sda/path/to/file.img

    and you want to move it to the Windows partition at

    /dev/sdc/destination/folder

    you can open a terminal in a live session and do

    rsync -av /dev/sda/path/to/file.img dev/sdc/destination/folder/

    first you can do a dry run test like this

    rsync -av --dry-run --itemize-changes /dev/sda/path/to/file.img dev/sdc/destination/folder/

    which doesn’t change anything but just lets you see what would happen.

    I think actually that Windows doesn’t play well with Linux file permissions (hopefully someone that knows Windows can chime in here) so maybe cp would be better

    cp /dev/sda/path/to/file.img dev/sdc/destination/folder/

    Or just open the folders in a file browser and right click copy paste.

    • bluestarshield@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Sorry if it’s a noob question, but isn’t a live session something you do with a USB stick without installing? The file is currently on the Mint install I used to torrent it, along with my other daily-driver things.