Skip to Content
gnux

-x, --one-file-system

Stay on this file system.

An option of cpx.

Usage

cpx -x SOURCE... DIRECTORY
cpx --one-file-system SOURCE... DIRECTORY

Details

ShortLongValueDefaultMeaning
-x--one-file-systemnonestay on this file system

Examples

Back up a tree without crossing into other mounted file systems

cpx -ax --strip-trailing-slashes data/ /mnt/backup/data

Help in the terminal

gnux help cpx --one-file-system

On this page