Home
last modified time | relevance | path

Searched refs:backup (Results 1 – 16 of 16) sorted by relevance

/coreutils/tests/mv/
Dbackup-dir.sh27 mv --verbose --backup=numbered -T A B > out || fail=1
29 renamed 'A' -> 'B' (backup: 'B.~1~')
36 mv -T --backup=numbered C E/ || fail=1
37 mv -T --backup=numbered D E/ || fail=1
41 mv --backup=simple X F/ || fail=1
Dsymlink-onto-hardlink-to-self.sh37 for opt in '' --backup; do
39 if test "$opt" = --backup; then
Dhard-4.sh36 mv --backup=simple a b || fail=1
Ddup-source.sh46 $i --backup=numbered a a d/ 2>> out || fail=1
50 returns_ 1 $i --backup a a d/ 2>> out || fail=1
Dchildproof.sh39 cp --backup=numbered a/f b/f c || fail=1
/coreutils/tests/cp/
Dbackup-1.sh30 cp --force --backup=simple --suffix=$suffix $file $file || fail=1
31 cp -T --force --backup=simple --suffix=$suffix $file $file || fail=1
Dcp-a-selinux.sh51 mkdir -p backup/existing_dir/ || framework_failure_
52 ls -Zd backup/existing_dir > ed_ctx || fail=1
54 touch backup/existing_dir/file || framework_failure_
55 chcon $ctx backup/existing_dir/file || framework_failure_
59 cp -a backup/. restore/ || fail=1
Dbackup-dir.sh36 cp --recursive --backup src/* dst || fail=1
Dcp-mv-backup.sh37 $prog --backup=$opt x y || fail=1
/coreutils/tests/ln/
Dhard-backup.sh25 ln --backup f f 2> out && fail=1
Dmisc.sh112 $cmd --backup=simple --suffix=.orig x a || fail=1
/coreutils/src/
Dln.c352 char *backup = backup_base; in do_link() local
358 backup = memcpy (alloc, dest, destdirlen); in do_link()
359 strcpy (backup + destdirlen, backup_base); in do_link()
361 quoted_backup = quoteaf_n (2, backup); in do_link()
Ddircolors.hin227 # backup files
/coreutils/tests/
Dlocal.mk482 tests/cp/backup-1.sh \
483 tests/cp/backup-dir.sh \
484 tests/cp/backup-is-src.sh \
488 tests/cp/cp-mv-backup.sh \
602 tests/ln/backup-1.sh \
603 tests/ln/hard-backup.sh \
672 tests/mv/backup-dir.sh \
673 tests/mv/backup-is-src.sh \
/coreutils/doc/
Dcoreutils.texi577 @itemx --backup[=@var{method}]
579 @opindex --backup
583 Make a backup of each file that would otherwise be overwritten or removed.
591 Append @var{suffix} to each backup file made with @option{-b}.
822 @cindex backup options
833 @itemx --backup[=@var{method}]
835 @opindex --backup
838 Make a backup of each file that would otherwise be overwritten or removed.
844 the default backup type is @samp{existing}.
847 argument. Using @option{-b} is equivalent to using @option{--backup=existing}.
[all …]
/coreutils/
DNEWS166 cp --recursive --backup will again operate correctly.
239 'mv --backup=simple f d/' no longer mistakenly backs up d/f to f~.
425 'mv -T --backup=numbered A B/' no longer miscalculates the backup number
1017 races that could lose backup data in unlikely circumstances. Since
1023 backup file to its original via a differently-spelled file name.
1024 E.g., 'rm -f a a~; : > a; echo data > a~; cp --backup=simple a~ ./a'
1028 cp, install, ln, and mv now ignore nonsensical backup suffixes.
4086 "ln --backup f f" now produces a sensible diagnostic
4102 cp --backup dir1 dir2, would rename an existing dir2/dir1 to dir2/dir1~.
4182 cp --backup no longer fails when the last component of a source file
[all …]