Searched refs:backup (Results 1 – 16 of 16) sorted by relevance
27 mv --verbose --backup=numbered -T A B > out || fail=129 renamed 'A' -> 'B' (backup: 'B.~1~')36 mv -T --backup=numbered C E/ || fail=137 mv -T --backup=numbered D E/ || fail=141 mv --backup=simple X F/ || fail=1
37 for opt in '' --backup; do39 if test "$opt" = --backup; then
36 mv --backup=simple a b || fail=1
46 $i --backup=numbered a a d/ 2>> out || fail=150 returns_ 1 $i --backup a a d/ 2>> out || fail=1
39 cp --backup=numbered a/f b/f c || fail=1
30 cp --force --backup=simple --suffix=$suffix $file $file || fail=131 cp -T --force --backup=simple --suffix=$suffix $file $file || fail=1
51 mkdir -p backup/existing_dir/ || framework_failure_52 ls -Zd backup/existing_dir > ed_ctx || fail=154 touch backup/existing_dir/file || framework_failure_55 chcon $ctx backup/existing_dir/file || framework_failure_59 cp -a backup/. restore/ || fail=1
36 cp --recursive --backup src/* dst || fail=1
37 $prog --backup=$opt x y || fail=1
25 ln --backup f f 2> out && fail=1
112 $cmd --backup=simple --suffix=.orig x a || fail=1
352 char *backup = backup_base; in do_link() local358 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()
227 # backup files
482 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 \
577 @itemx --backup[=@var{method}]579 @opindex --backup583 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 options833 @itemx --backup[=@var{method}]835 @opindex --backup838 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 …]
166 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 number1017 races that could lose backup data in unlikely circumstances. Since1023 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 diagnostic4102 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 …]