.\" -*- coding: UTF-8 -*- .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH CP 1 "2026. április" "GNU coreutils 9.11" "Felhasználói parancsok" .SH NÉV cp \- copy files and directories .SH ÖSSZEGZÉS \fBcp\fP [\fI\,KAPCSOLÓ\/\fP]... [\fI\,\-T\/\fP] \fI\,FORRÁS CÉL\/\fP .br \fBcp\fP [\fI\,KAPCSOLÓ\/\fP]... \fI\,FORRÁS\/\fP... \fI\,KÖNYVTÁR\/\fP .br \fBcp\fP [\fI\,KAPCSOLÓ\/\fP]... \fI\,\-t KÖNYVTÁR FORRÁS\/\fP... .SH LEÍRÁS .\" Add any additional description here .PP A FORRÁST a CÉLRA, vagy több FORRÁST a KÖNYVTÁRBA másol. .PP A hosszú kapcsolók kötelező argumentumai a rövid kapcsolókhoz is kötelezők. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-a'\fB\-a, \-\-archive\fP\X'tty: link' ugyanaz, mint a \fB\-dR\fP \fB\-\-preserve\fP=\fI\,all\/\fP .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-attributes\-only'\fB\-\-attributes\-only\fP\X'tty: link' nem másol fájladatokat, csak az attribútumokat .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-backup'\fB\-\-backup[=CONTROL]\fP\X'tty: link' minden létező célfájlról mentést készít .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-b'\fB\-b\fP\X'tty: link' mint a \-\-backup, de nem fogad el argumentumot .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-copy\-contents'\fB\-\-copy\-contents\fP\X'tty: link' rekurzió esetén a speciális fájlok tartalmát is másolja .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-d'\fB\-d\fP\X'tty: link' mint a \fB\-\-no\-dereference\fP \fB\-\-preserve\fP=\fI\,links\/\fP .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-debug'\fB\-\-debug\fP\X'tty: link' explain how a file is copied. Implies \fB\-v\fP .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-f'\fB\-f, \-\-force\fP\X'tty: link' ha egy létező célfájlt nem lehet megnyitni, akkor törli azt, majd újrapróbálja (figyelmen kívül marad a \-n kapcsoló használatakor) .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-i'\fB\-i, \-\-interactive\fP\X'tty: link' felülírás előtt kérdez .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-H'\fB\-H\fP\X'tty: link' parancssori szimbolikus linkek követése a FORRÁSBAN .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-L'\fB\-L, \-\-dereference\fP\X'tty: link' a szimbolikus linkek követése mindig a FORRÁSBAN .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-P'\fB\-P, \-\-no\-dereference\fP\X'tty: link' soha ne kövesse a szimbolikus linkeket a FORRÁSBAN .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-keep\-directory\-symlink'\fB\-\-keep\-directory\-symlink\fP\X'tty: link' follow existing symlinks to directories .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-l'\fB\-l, \-\-link\fP\X'tty: link' fájlok hard linkelése másolás helyett .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-n'\fB\-n, \-\-no\-clobber\fP\X'tty: link' (deprecated) silently skip existing files. See also \fB\-\-update\fP .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-p'\fB\-p\fP\X'tty: link' mint a \fB\-\-preserve\fP=\fI\,mode\/\fP,\fI\,ownership\/\fP,\fI\,timestamps\/\fP .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-preserve'\fB\-\-preserve[=ATTR_LIST]\fP\X'tty: link' preserve the specified attributes .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-no\-preserve'\fB\-\-no\-preserve=ATTR_LIST\fP\X'tty: link' nem őrzi meg a megadott attribútumokat .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-parents'\fB\-\-parents\fP\X'tty: link' teljes forrásfájlnév használata a KÖNYVTÁR alatt .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-R'\fB\-R, \-r, \-\-recursive\fP\X'tty: link' könyvtárak rekurzív másolása .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-reflink'\fB\-\-reflink[=WHEN]\fP\X'tty: link' klón/CoW másolatok vezérlése. Lásd alább. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-remove\-destination'\fB\-\-remove\-destination\fP\X'tty: link' minden célfájl törlése, még mielőtt megpróbálná megnyitni (ellentétben a \-\-force kapcsolóval) .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-sparse'\fB\-\-sparse=WHEN\fP\X'tty: link' ritka fájlok létrehozásának szabályozása. Lásd alább. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-strip\-trailing\-slashes'\fB\-\-strip\-trailing\-slashes\fP\X'tty: link' eltávolítja a befejező osztásjeleket minden egyes FORRÁS argumentumról .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-s'\fB\-s, \-\-symbolic\-link\fP\X'tty: link' szimbolikus link létrehozása másolás helyett .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-S'\fB\-S, \-\-suffix=\,SUFFIX\fP\X'tty: link'\/ a biztonsági másolat szokásos kiterjesztésének felülbírálása .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-t'\fB\-t, \-\-target\-directory=\,KÖNYVTÁRBA\fP\X'tty: link'\/ minden FORRÁS argumentum másolása a megadott KÖNYVTÁRBA .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-T'\fB\-T, \-\-no\-target\-directory\fP\X'tty: link' a CÉL kezelése normál fájlként .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-update'\fB\-\-update[=UPDATE]\fP\X'tty: link' control which existing files are updated; UPDATE={all,none,none\-fail,older(default)} .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-u'\fB\-u\fP\X'tty: link' equivalent to \fB\-\-update\fP[=\fI\,older\/\fP]. See below .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-v'\fB\-v, \-\-verbose\fP\X'tty: link' elmagyarázza, mi történik .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-x'\fB\-x, \-\-one\-file\-system\fP\X'tty: link' az adott fájlrendszeren marad .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-Z'\fB\-Z\fP\X'tty: link' a célfájl SELinux biztonsági környezetének beállítása az alapértelmezett típusra .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cp\-\-context'\fB\-\-context[=CTX]\fP\X'tty: link' mint a \fB\-Z\fP, vagy ha a CTX meg van adva, akkor a SELinux vagy SMACK biztonsági környezet beállítása CTX értékre .TP \X'tty: link https://www.gnu.org/software/coreutils/cp#cp\-\-help'\fB\-\-help\fP\X'tty: link' ezen súgó megjelenítése és kilépés .TP \X'tty: link https://www.gnu.org/software/coreutils/cp#cp\-\-version'\fB\-\-version\fP\X'tty: link' verzióinformációk megjelenítése és kilépés .PP ATTR_LIST is a comma\-separated list of attributes. Attributes are 'mode' for permissions (including any ACL and xattr permissions), 'ownership' for user and group, 'timestamps' for file timestamps, 'links' for hard links, \&'context' for security context, 'xattr' for extended attributes, and 'all' for all attributes. .PP Alapértelmezésben a program kitalálja, hogy a FORRÁS fájl ritka\-e vagy nem. Amennyiben igen, a megfelelő CÉL fájl is ritka lesz. Ez a \fB\-\-sparse\fP=\fI\,auto\/\fP kapcsolónak megfelelő viselkedés. Megadható a \fB\-\-sparse\fP=\fI\,always\/\fP kapcsoló, ekkor a CÉL fájl ritka lesz, amennyiben a FORRÁS megfelelő mennyiségű nulla bájtot tartalmaz. A \fB\-\-sparse\fP=\fI\,never\/\fP kapcsolóval letiltható a ritka fájlok létrehozása. .PP UPDATE controls which existing files in the destination are replaced. \&'all' is the default operation when an \fB\-\-update\fP option is not specified, and results in all existing files in the destination being replaced. \&'none' is like the \fB\-\-no\-clobber\fP option, in that no files in the destination are replaced, and skipped files do not induce a failure. \&'none\-fail' also ensures no files are replaced in the destination, but any skipped files are diagnosed and induce a failure. \&'older' is the default operation when \fB\-\-update\fP is specified, and results in files being replaced if they're older than the corresponding source file. .PP By default or with \fB\-\-reflink\fP=\fI\,auto\/\fP, cp will try a lightweight copy, where the data blocks are copied only when modified, falling back to a standard copy if this is not possible. With \fB\-\-reflink\fP[=\fI\,always\/\fP] cp will fail if CoW is not supported, while \fB\-\-reflink\fP=\fI\,never\/\fP ensures a standard copy is performed. .PP A biztonsági másolat kiterjesztése „~”, hacsak nincs megadva a \fB\-\-suffix\fP vagy a SIMPLE_BACKUP_SUFFIX használatával. A verziókövetés módját megválaszthatod a \fB\-\-backup\fP kapcsolóval vagy a VERSION_CONTROL környezeti változó segítségével. Az érvényes értékek a következők: .TP none, off nem készít mentést (még a \fB\-\-backup\fP megadása esetén sem) .TP numbered, t számozott mentést készít .TP existing, nil számozott, ha már létezik számozott változat, egyébként egyszerű .TP simple, never mindig egyszerű biztonsági mentés .PP Kivételt képez, amikor a cp biztonsági mentést készít a FORRÁSRÓL és a force és backup kapcsolók egyaránt meg vannak adva, továbbá a FORRÁS és a CÉL ugyanaz a szabályos fájl. .SH SZERZŐ Írta Torbjorn Granlund, David MacKenzie és Jim Meyering. .SH "HIBÁK JELENTÉSE" A hibák a(z) bug\-coreutils@gnu.org címen jelenthetők. .br A(z) GNU coreutils honlapja: .br Általános segítség a GNU szoftverek használatához: .br Report any translation bugs to .SH "SZERZŐI JOG" Copyright \(co 2026 Free Software Foundation, Inc. A licenc GPLv3+: a GNU GPL 3. vagy újabb változata: . .br Ez egy szabad szoftver, terjesztheti és/vagy módosíthatja. NINCS GARANCIA, a törvény által engedélyezett mértékig. .SH "LÁSD MÉG" \fBinstall\fP(1) .PP .br Teljes dokumentáció .br vagy helyileg elérhető: info \(aq(coreutils) cp invocation\(aq .PP .SH FORDÍTÁS A kézikönyv magyar fordítását a Horváth András és Magyari Miklós készítette. .PP Ez a fordítás ingyenes dokumentáció; lásd a .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License 3 .UE . Vagy újabb verzióját a szerzői jogi feltételekkel kapcsolatban. Feltételezzük, hogy NEM FELELŐSSÉG. .PP Ha hibát talál a kézikönyv oldal fordításában, küldje el a e-mail cím: .MT TODO. .ME .