CP(1) Cac cau lnh CP(1) TEN cp - copy files and directories TOM TT cp [TUY_CHN] [-T] NGUN DICH cp [TUY_CHN] NGUN THU_MC cp [TUY_CHN] -t THU_MC NGUN MO T Sao chep NGUN ti DICH hoc nhiu NGUN ti THU_MC. Tuy chn dai yeu cu di s thi tuy chn ngn cung vy. -a, --archive ging nhu -dR --preserve=all --attributes-only don't copy the file data, just the attributes --backup[=DIUKHIN] to bn sao luu cho mi tp tin dich da tn ti -b ging --backup nhung khong chp nhn di s --copy-contents sao chep ni dung ca tp tin dc bit khi d quy -d ging nhu --no-dereference --preserve=links --debug explain how a file is copied. Implies -v -f, --force nu khong m duc tp tin dich thi xoa no va th li (tuy chn nay b b qua khi tuy chn -n cung dng thi duc dung) -i, --interactive hi li truc khi ghi de (ghi de len tuy chn -n dt truc no) -H di theo cac lien kt mm ca dong lnh trong NGUN -l, --link lien kt tp tin thay vao sao chep -L, --dereference luon luon theo lien kt mm trong NGUN -n, --no-clobber do not overwrite an existing file (overrides a -u or previous -i option). See also --update -P, --no-dereference khong bao gi nen theo lien kt mm trong NGUN -p ging nhu --preserve=mode,ownership,timestamps --preserve[=DS_T.TINH] preserve the specified attributes --no-preserve=DANH_SACH_THUC_TINH khong gi cac thuc tinh ch ra --parents dung ten tp tin ngun dy d dui THU_MC -R, -r, --recursive sao chep d quy cac thu mc --reflink[=KHI_NAO] diu khin vic sao chep clone/CoW. Xem dui. --remove-destination g b mi tp tin dich dn da co truc khi th m no (tuong phn vi --force) --sparse=KHI_NAO diu khin vic to tp tin sparse. Xem dui. --strip-trailing-slashes g b mi du gch nguc di theo khi mi di s NGUN -s, --symbolic-link to lien kt mm thay cho vic sao chep -S, --suffix=HU_T thay cho hu t thung dung d sao luu -t, --target-directory=THU_MC sao chep mi di s NGUN vao THU_MC -T, --no-target-directory coi DICH la mt tp tin thong thung --update[=UPDATE] control which existing files are updated; UPDATE={all,none,older(default)}. See below -u equivalent to --update[=older] -v, --verbose cho bit c th nhng gi da thc hin -x, --one-file-system ch thc hin tren h thng tp tin nay -Z dt ng cnh an ninh SELinux ca cac tp tin dich thanh kiu mc dnh --context[=NG_CNH] ging vi -Z, hoc nu NG_CNH duc ch dnh thi dt ng cnh an ninh SELinux hay SMACK thanh NG_CNH --help hin th tr giup nay ri thoat --version dua ra thong tin phien bn ri thoat 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. Mc dnh la tp tin NGUN sparse duc do tim bi mt tien doan tho so va tp tin DICH tuong ng cung duc sparse. Cac hanh x nay duc la chn bi --sparse=auto. ch dnh --sparse=always d to mt tp tin DICH sparse k c khi tp tin NGUN cha mt chui byte s khong d dai. Hay dung --sparse=never d ngan chn vic to cac tp tin sparse. UPDATE controls which existing files in the destination are replaced. 'all' is the default operation when an --update option is not specified, and results in all existing files in the destination being replaced. 'none' is similar to the --no-clobber option, in that no files in the destination are replaced, but also skipped files do not induce a failure. 'older' is the default operation when --update is specified, and results in files being replaced if they're older than the corresponding source file. Khi --reflink[=always] duc ch dnh, thc hin mt sao chep nh can, noi ma cac khi d liu ch duc sao chep khi da b sa di. Nu vic nay la khong th vic sao chep li, hoc nu --reflink=auto duc dua ra, khi li thi quay li sao chep dng tieu chun. Dung --reflink=never d dm bo rng sao chep dng tieu chun duc thc thi. Hu t sao luu la "~", tr khi dt vi --suffix hoc SIMPLE_BACKUP_SUFFIX. Phuong phap diu khin phien bn co th chn qua tuy chn --backup hoc qua bin moi trung VERSION_CONTROL. Co nhng gia tr sau: none, off khong bao gi to bn sao luu (du dua ra --backup) numbered, t danh s th t existing, nil danh s th t nu co kho luu truc do, khong thi dung dng don gin simple, never luon luon to bn sao luu dng don gin Nhu mt trung hp dc bit, cp to bn sao luu ca NGUN khi dua ra hai tuy chn force (ep buc) va backup (sao luu) va NGUN va DICH cung la mt ten cho mt tp tin thong thung da tn ti. TAC GI Vit bi Torbjorn Granlund, David MacKenzie va Jim Meyering. THONG BAO LI Tr giup trc tuyn GNU coreutils: Report any translation bugs to BN QUYN Copyright (C) 2023 Free Software Foundation, Inc. Giy phep GPL pb3+ : Giy phep Cong cng GNU phien bn 3 hay sau . Day la phn mm t do: bn co quyn sa di va phat hanh li no. KHONG CO BO HANH GI C, vi diu khin duc phap lut cho phep. XEM THEM install(1) Tai liu dy d co ti: hoc sn co ni b thong qua: info '(coreutils) cp invocation' DCH Bn dch ting Vit ca trang hung dn nay do thc hin. Bn dch nay la Tai liu Min phi; dc Giy phep Cong cng GNU Phien bn 3 hoc mi hon d bit cac diu khon bn quyn. Chung toi cho rng KHONG CO TRACH NHIM PHAP LY. Nu bn tim thy mt s sai sot trong bn dch ca trang hung dn nay, vui long gi thu dn TODO <>. GNU coreutils 9.4 Thang 1 nam 2024 CP(1)