CP(1)
π CP(1) β the copy command, but make it fashion π
okay so bestie, you wanna copy files? say less. this is the manual for cp, and it's literally about to eat. π½οΈβ¨
β¨ NAME β¨
cp β Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. it's giving "duplicate my files, no cap". π
π¦ SYNOPSIS π¦
cp [OPTION]... [-T] SOURCE DEST
cp [OPTION]... SOURCE... DIRECTORY
cp [OPTION]... -t DIRECTORY SOURCE...
like, three ways to serve the same fantasy. pick your fighter. π
πΈ DESCRIPTION πΈ
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
that's it. that's the vibe. you're copying stuff. slay. π
π OPTIONS π
okay this list is LONG but every single one is important, bestie. don't skip. π
-t,--target-directory <target-directory>β copy all SOURCE arguments intotarget-directory. like, yeet everything into this one folder. π―-T,--no-target-directoryβ Treat DEST as a regular file and not a directory. so don't be fooled by a folder name, okay? π-i,--interactiveβ ask before overwriting files. consent is key, bestie. β-l,--linkβ hard-link files instead of copying. no duplicate data, just link energy. π-n,--no-clobberβ don't overwrite a file that already exists. hands off, it's taken. πββοΈ-R,--recursiveβ copy directories recursively. go deep, queen. π³οΈ--strip-trailing-slashesβ remove any trailing slashes from each SOURCE argument. clean it up, we're not messy. π§Ή--debugβ explain how a file is copied. Implies-v. like a little commentary track. ποΈ-v,--verboseβ explicitly state what is being done. no quiet copying, we need the play-by-play. π’-s,--symbolic-linkβ make symbolic links instead of copying. shortcuts, but make it symbolic. π-f,--forceβ if an existing destination file cannot be opened, remove it and try again (this option is ignored when the-noption is also used). Currently not implemented for Windows. like, brute force but make it legal. π₯--remove-destinationβ remove each existing destination file before attempting to open it (contrast with--force). On Windows, currently only works for writeable files. so delete first, then copy. savage. πͺ--backup[=<CONTROL>]β make a backup of each existing destination file. because we're responsible and also a little dramatic. πΎ-bβ like--backupbut does not accept an argument. short and sweet. π¬-S,--suffix <SUFFIX>β override the usual backup suffix. custom vibes only. π¨--updateβ move only when the SOURCE file is newer than the destination file or when the destination file is missing. so, "only if it's fresh". β¨
Possible values:
nonealloldernone-fail
-uβ like--updatebut does not accept an argument. the short version, still iconic. π--reflink[=<WHEN>]β control clone/CoW copies. See below. (iykyk)
Possible values:
autoalwaysnever
--attributes-onlyβ Don't copy the file data, just the attributes. like copying the aura but not the body. π--preserve[=<ATTR_LIST>...]β Preserve the specified attributes (default: mode, ownership (unix only), timestamps), if possible additional attributes: context, links, xattr, all. keep the whole vibe intact. π
Possible values:
modeownershiptimestampscontextlinksxattrall
-p,--preserve-default-attributesβ same as--preserve=mode,ownership(unix only),timestamps. the default preservation package. π--no-preserve[=<ATTR_LIST>...]β don't preserve the specified attributes. let it go, bestie. π¨
Possible values:
modeownershiptimestampscontextlinksxattrall
--parentsβ use full source file name under DIRECTORY. keep the whole path, no cutting corners. π-P,--no-dereferenceβ never follow symbolic links in SOURCE. respect the link, don't chase it. π«-L,--dereferenceβ always follow symbolic links in SOURCE. chase the link, bestie. πββοΈ-Hβ follow command-line symbolic links in SOURCE. only the ones on the command line, not all of them. π€-a,--archiveβ Same as-dR --preserve=all. the full archive fantasy. ποΈ-dβ same as--no-dereference --preserve=links. a little combo meal. π-x,--one-file-systemβ stay on this file system. don't cross the border. π--sparse <WHEN>β control creation of sparse files. See below. (again, see below? we love a mystery. π΅οΈββοΈ)
Possible values:
neverautoalways
-Zβ set SELinux security context of destination file to default type. security queen. π--context[=<CTX>]β like-Z, or if CTX is specified then set the SELinux or SMACK security context to CTX. context is everything. π-g,--progressβ Display a progress bar. Note: this feature is not supported by GNU coreutils. we love a progress moment, but read the note. π--copy-contentsβ NotImplemented: copy contents of special files when recursive. so it's literally not implemented. noted. π§-h,--helpβ Print help. bestie, when in doubt, ask for help. π-V,--versionβ Print version. know your version, slay. π·οΈ<paths>β this is just sitting here in the original manual. like, paths? idk. include it, I guess. π (no further explanation given, periodt.)
π§ EXTRA π§
okay so this section is giving "the fine print" but make it cute. β¨
Do not copy a non-directory that has an existing destination with the same or newer modification timestamp; instead, silently skip the file without failing. If timestamps are being preserved, the comparison is to the source timestamp truncated to the resolutions of the destination file system and of the system calls used to update timestamps; this avoids duplicate work if several cp -pu commands are executed with the same source and destination. This option is ignored if the -n or --no-clobber option is also specified. Also, if --preserve=links is also specified (like with cp -au for example), that will take precedence; consequently, depending on the order that files are processed from the source, newer files in the destination may be replaced, to mirror hard links in the source. which gives more control over which existing files in the destination are replaced, and its value can be one of the following:
all: This is the default operation when an--updateoption is not specified, and results in all existing files in the destination being replaced. π―none: This is similar to the--no-clobberoption, in that no files in the destination are replaced, but also skipping a file does not induce a failure. no drama, just skip. π«older: This is the default operation when--updateis specified, and results in files being replaced if they're older than the corresponding source file. out with the old, in with the new. π΅β‘οΈπΆ
The backup suffix is '~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX. The version control method may be selected via the --backup option or through the VERSION_CONTROL environment variable. Here are the values:
none,offβ never make backups (even if--backupis given). no backup, no problem. π ββοΈnumbered,tβ make numbered backups. 1, 2, 3, slay. π’existing,nilβ numbered if numbered backups exist, simple otherwise. it depends, bestie. π€·ββοΈsimple,neverβ always make simple backups. simple is chic. π
π VERSION π
v(uutils coreutils) 0.12.0
that's the version, no cap. π
and that's the whole manual, bestie! now go copy some files and serve looks. π β¨
made with π«Ά by the uutils coreutils girlies β version v(uutils coreutils) 0.12.0, last updated 2026-09-17. mwah! π
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms