Topics Map > ResearchDrive

ResearchDrive - Transferring Data with a Linux Computer

This document explains how to transfer data to ResearchDrive with a linux computer.

There are several methods to transfer data from a linux computer:

  1. Transferring data with shell commands
  2. Transferring data with rsync
  3. Comparing files or folders with diff

Transferring data with shell commands

Note: replace references to [source path] and [destination path] with the folder locations you want to use such as /home or /mnt/researchdrive/myfolder

  1. Connect to ResearchDrive from the linux Computer
  2. Navigate to the source directory that you want to transfer data from.
  3. To copy data, use the command syntax:
    cp [source path] [destination path]

    Refer to the cp man page for additional details.

  4. To move data, use the command syntax:
    mv [source path] [destination path]

    Refer to the mv man page for additional details.

Transferring data with rsync

  1. Connect to ResearchDrive from the linux Computer
  2. Navigate to the source directory that you want to transfer data from.
  3. To copy data, use the command syntax:
    rsync [options] [source path] [destination path]

    Refer to the rsync man page or SS64 - rsync for additional details.

Comparing files or folders with diff

Note: replace references to [source path] and [destination path] with the folder locations you want to use such as /home or /mnt/researchdrive/myfolder

  1. Connect to ResearchDrive from the linux Computer
  2. Navigate to the source directory that you want to compare.
  3. To compare files or folders, use the command syntax:
    diff [options] [source path] [destination path]

    Refer to the diff man page or SS64 - diff for additional details.



Keywords:
research drive storage file folder transfer move copy transfer connect mount linux red hat rhel centos ubutnu shell 
Doc ID:
96640
Owned by:
Casey S. in UW-Madison Research Data
Created:
2019-12-14
Updated:
2023-10-16
Sites:
UW-Madison Research Data