ntfscp
Copy files to NTFS volumes
SYNOPSIS
ntfscp [options] source_file target_file
PARAMETERS
source_file
The path to the file on the Linux system that you want to copy.
target_file
The path to the file, or directory on the NTFS partition where the file will be copied.
DESCRIPTION
ntfscp is a command-line utility used to copy files from a Linux system to an NTFS (New Technology File System) formatted volume. NTFS is commonly used by Windows operating systems. The primary function is to facilitate data transfer when you need to move files between Linux and Windows environments.
This command is part of the ntfs-3g package. Unlike basic file copy commands like `cp`, `ntfscp` is specifically designed to work correctly with NTFS file system features, ensuring proper file attributes, timestamps, and permissions are handled appropriately during the transfer. This is essential for maintaining data integrity when interacting with Windows-based systems. It leverages the `ntfs-3g` library for reliable read/write access to NTFS partitions.
CAVEATS
ntfscp is part of the ntfs-3g package, so make sure to install it before using ntfscp. Errors with the transfer may happen if the ntfs partition isn't mounted correctly or there is no write permissions.
EXAMPLES
Copies file `/home/user/myfile.txt` to `/media/windows/Documents/myfile.txt`:
ntfscp /home/user/myfile.txt /media/windows/Documents/myfile.txt