XPost: aus.computers, alt.os.linux.debian   
   From: unruh@invalid.ca   
      
   On 2025-08-13, Felix wrote:   
   > This is a multi-part message in MIME format.   
   > --------------DEBE3565B74C16FDB834D53F   
   > Content-Type: text/plain; charset=UTF-8; format=flowed   
   > Content-Transfer-Encoding: 8bit   
   >   
   >   
   > I want to add the C drive* from a working LM 22.x PC via USB to another   
   > LM 22.x PC for the purpose of transferring a lot of personal files. ie.   
   > Photos, docs, PDF, etc., My question is.. would the Linux installations   
   > on the drives somehow interfere with or corrupt each other in any way? I   
   > know I can use a USB stick to transfer the files, but just connecting   
   > the actual C drive via usb saves having to transfer the files twice.   
   > (once to USB stick then from the USB stick to the main PC).   
   >   
   > * sorry, I don't know the linux name for the drive with the OS   
      
   The simplest way of transfering files on Linux is to use rsync. You need   
   ssh and rsync installed on both machines.   
      
   Now you say these "C" driives are each attached on separate machines   
   each running Linux Mint. You do not say whether they are also attached   
   to networks (either by ethernet cable or by wireless). On LM1 ( the   
   machine containing the C drive now containing those personal files you   
   want to transfer)   
   rsync -avxAHX /path/to/C/drive/directory LM2:/path/to/C/drive   
      
   That will transfer all of the files in /path/to/C/drive/directory on LM1 to   
   machine /path/to/C/drive/directory on the the machine LM2. It also   
   compares hashes of the files on the first machine to the hash of the   
   drive transfered to LM2 to make sure that no error has crept into the   
   tranfer. The speed is limited to the speed of the network connecting   
   them   
      
   If you have the drive C which contains the personal files, there is   
   absolutely nothing which prevents you from installing that same drive   
   onto the other machine. Just give it a different name.   
   Eg on LM2, as root to   
   mkdir /Cold   
   mount /dev/sdb6 /Cold   
   then you can trasfer the files from /Cold to /C using rsync, or cp.   
    No need for networks or usb cables.   
      
    Note that this is NOT Windows. C has no meaning except what you give   
    it. When the directory is mounted it is solely thename you give it   
    (Cold above) the system does not look into Cold and see that it is a   
    Microsoft file or a boot file.   
    In fact under Linux you control the file or directlry names.   
      
      
   >   
   > TIA   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|