Lines Matching full:mv
5 # "touch two; chmod -w two; mv one two" shouldn't prompt to delete two if
17 "mv file file1 && [ ! -e file -a -f file1 ] && echo yes" \
24 "mv file dir && [ ! -e file -a -f dir/file ] && echo yes" \
30 "mv dir dir1 && [ ! -e dir -a -d dir1 ] && echo yes" \
38 "mv file1 file2 link1 dir1 dir2 &&
47 "mv file1 file2 && [ ! -e file1 -a -f file2 ] && stat -c %s file2" \
54 "mv link1 link2 && [ ! -e link1 -a -L link2 ] && readlink link2" \
62 "mv link1 link2 && [ ! -e link1 -a -f link2 -a file1 -ef link2 ] && echo yes" \
70 "mv file1 file2 && [ ! -e file1 -a -f file2 ] && echo yes" \
78 "mv file1 link1 dir1 &&
87 "mv dir1/dir2 dir3/new &&
95 "mv dir1 dir2 && [ ! -e dir1 -a -d dir2/dir1 ] && echo yes" \
102 "mv -f file1 file2 && [ ! -e file1 -a -e file2 ] && echo yes" \
108 "mv -n file1 file2 && [ -e file1 -a -e file2 ] && echo yes"\
114 "mv -n file1 new-dest && [ ! -e file1 -a -e new-dest ] && echo yes"\
122 testing "mv over unwritable file: no stdin" \
123 "mv file2 file1 2>/dev/null && [ -e file1 -a ! -e file2 ] && echo yes" \
129 testing "mv over unwritable file: answered YES" \
130 "mv file2 file1 2>/dev/null && [ -e file1 -a ! -e file2 ] && echo yes" \
136 testing "mv over unwritable file: answered NO" \
137 "mv file2 file1 2>/dev/null && [ -e file1 -a -e file2 ] && echo yes" \
143 "mv -i file2 file1 2>/dev/null && [ -e file1 -a ! -e file2 ] && echo yes" \
149 "mv -i file2 file1 2>/dev/null && [ -e file1 -a ! -e file2 ] && echo yes" \
155 "mv -i file2 file1 2>/dev/null && [ -e file1 -a -e file2 ] && echo yes" \