DELTA 173248 0 131 SVNgvlf^~yTzmjAugust 28, 2012 .Dt MV 1 .Os .Sh NAME .Nm mv .Nd move files .Sh SYNOPSIS .Nm .Op Fl f | i | n .Op Fl hh If the .Ar target operand is a symbolic link to a directory, do not follow it. This causes the .Nm utility to rename the file .Ar source to the destination path .Ar target rather than moving .Ar source into the directory referenced by .Ar target .h , .Fl n ,ENDREP DELTA 226961 1475 398 SVNJW}_hZA3_8}hee{hhinv")) != -1) switch (ch) { case 'h': hflg = 1; break; * If -h was specified, treat the target as a symlink instead of * directory. */ if (hflg) { if (argc > 2) usage(); if (lstat(argv[1], &sb) == 0 && S_ISLNK(sb.st_mode)) hENDREP id: 6n-1556.2n-1557.r239951/753 type: file pred: 6n-1556.2n-1557.r173248/211 count: 31 text: 239951 0 402 4342 48fc7841e87d5a8c04117960ba6613eb 62224ce4c07058f065a2cfec5b3d83616f918ef5 239950-555a/_4 props: 173248 160 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/bin/mv/mv.1 copyroot: 1557 /head/bin/mv/mv.1 id: 6p-1556.2o-1557.r239951/1068 type: file pred: 6p-1556.2o-1557.r226961/2210 count: 55 text: 239951 428 296 12631 eb2b846d3d755428e6030fefecc9dc53 be63577d371ce370e22cba0e44b7ef79a95d9380 239950-555a/_5 props: 174935 792 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/bin/mv/mv.c copyroot: 1557 /head/bin/mv/mv.c PLAIN K 8 Makefile V 32 file 6k-1556.2m-1557.r87323/1434 K 4 mv.1 V 32 file 6n-1556.2n-1557.r239951/753 K 4 mv.c V 33 file 6p-1556.2o-1557.r239951/1068 END ENDREP id: v-1557.0.r239951/1551 type: dir pred: v-1557.0.r226961/2693 count: 72 text: 239951 1388 150 150 ee386372aec36f00a977ecae8544f57a cpath: /head/bin/mv copyroot: 0 / PLAIN K 8 Makefile V 28 file i-1556.0-1557.r212515/0 K 12 Makefile.inc V 33 file l-1556.1-1557.r156813/199511 K 3 cat V 25 dir 3-1557.0.r238653/1099 K 7 chflags V 28 dir 3u-1590.0.r213573/288636 K 4 chio V 25 dir 2-23450.0.r228423/732 K 5 chmod V 26 dir 5-1557.0.r221845/19976 K 2 cp V 24 dir 7-1557.0.r208821/917 K 3 csh V 27 dir 9-1557.0.r231990/165983 K 4 date V 25 dir d-1557.0.r208795/1051 K 2 dd V 25 dir f-1557.0.r187922/1595 K 2 df V 24 dir h-1557.0.r232469/538 K 10 domainname V 24 dir 2-2862.0.r165332/570 K 4 echo V 24 dir j-1557.0.r215211/989 K 2 ed V 23 dir 2-17.0.r235654/4796 K 4 expr V 21 dir 3-5.0.r235771/501 K 7 getfacl V 27 dir 2-74465.0.r209034/38396 K 8 hostname V 25 dir l-1557.0.r194795/2030 K 4 kenv V 25 dir 2-62813.0.r235316/496 K 4 kill V 24 dir n-1557.0.r219154/665 K 2 ln V 25 dir p-1557.0.r226961/4710 K 2 ls V 25 dir r-1557.0.r235655/4606 K 5 mkdir V 25 dir t-1557.0.r226961/3358 K 2 mv V 25 dir v-1557.0.r239951/1551 K 3 pax V 26 dir x-1557.0.r222177/13115 K 5 pkill V 35 dir 2-127412.0-182543.r218285/40652 K 2 ps V 25 dir z-1557.0.r239883/1783 K 5 pwait V 29 dir 4-199458.0.r233648/393294 K 3 pwd V 27 dir 11-1557.0.r141578/12598 K 3 rcp V 27 dir 13-1557.0.r236892/15145 K 8 realpath V 26 dir 9-69110.0.r223372/1313 K 2 rm V 25 dir 15-1557.0.r237339/730 K 5 rmail V 27 dir 17-1557.0.r203916/10411 K 5 rmdir V 25 dir 19-1557.0.r165564/816 K 7 setfacl V 28 dir 9-74465.0.r233648/392660 K 2 sh V 26 dir 1b-1557.0.r238888/4940 K 5 sleep V 25 dir 1h-1557.0.r210750/790 K 4 stty V 26 dir 1j-1557.0.r238508/1007 K 4 sync V 27 dir 1l-1557.0.r139969/31769 K 4 test V 27 dir 1n-1557.0.r235400/35680 K 7 uuidgen V 25 dir 2-97372.0.r235842/612 END ENDREP id: 1-5.0.r239951/3397 type: dir pred: 1-5.0.r239883/3629 count: 2733 text: 239951 1719 1665 1665 dabd80558cb683e1548f3b9db825d209 cpath: /head/bin copyroot: 0 / PLAIN K 9 COPYRIGHT V 25 file 1-2656.0.r229067/453 K 5 LOCKS V 27 file 1-146890.0.r179574/251 K 11 MAINTAINERS V 28 file 1-94742.0.r230843/28443 K 8 Makefile V 28 file 3-1594.0-1595.r239272/0 K 13 Makefile.inc1 V 26 file 5-38666.0.r239272/302 K 17 ObsoleteFiles.inc V 28 file 4-148330.0.r239747/1000 K 6 README V 26 file 1-21173.0.r215293/415 K 8 UPDATING V 27 file 1-41806.0.r239774/8287 K 3 bin V 22 dir 1-5.0.r239951/3397 K 4 cddl V 28 dir 1-168404.0.r239774/15778 K 7 contrib V 27 dir 1-16755.0.r239870/42208 K 6 crypto V 28 dir 1-25405.0.r238405/858985 K 3 etc V 24 dir 1-38.0.r239599/12630 K 5 games V 25 dir 1-2491.0.r238879/7513 K 3 gnu V 22 dir 1-3.0.r239695/3160 K 7 include V 24 dir 1-697.0.r239061/5833 K 9 kerberos5 V 28 dir 4q-29815.0.r236422/13814 K 3 lib V 22 dir 6-5.0.r239872/7085 K 7 libexec V 22 dir c-5.0.r239470/9180 K 7 release V 25 dir 1-3027.0.r239738/1872 K 6 rescue V 28 dir 7-117035.0.r238926/22095 K 4 sbin V 23 dir fa-4.0.r239836/6850 K 6 secure V 25 dir r-1553.0.r238407/2272 K 5 share V 23 dir e-3.0.r239906/22800 K 3 sys V 23 dir g-5.0.r239941/15293 K 5 tools V 26 dir 43-1590.0.r239927/4702 K 7 usr.bin V 23 dir m-3.0.r239898/13312 K 8 usr.sbin V 23 dir q-3.0.r239938/13907 END ENDREP id: 5-1.0.r239951/4779 type: dir pred: 5-1.0.r239941/16766 count: 169474 text: 239951 3560 1206 1206 c81a33d5dded4fa455e6a160854834fa props: 233713 14925 417 0 fe95f2ac252be6f08902a979c27a022c cpath: /head copyroot: 0 / minfo-cnt: 108 minfo-here: y PLAIN K 11 ROADMAP.txt V 27 file 0-179453.0.r221478/293 K 7 cvs2svn V 23 dir 0-1.0.r177821/70859 K 4 head V 22 dir 5-1.0.r239951/4779 K 8 projects V 25 dir 6-1.0.r239933/1868258 K 7 release V 22 dir 7-1.0.r234063/2758 K 6 releng V 23 dir 8-1.0.r239871/16731 K 6 stable V 23 dir 9-1.0.r239949/21937 K 8 svnadmin V 27 dir 0-179447.0.r239678/1632 K 4 user V 24 dir a-1.0.r239950/618935 K 6 vendor V 23 dir b-1.0.r239746/18204 K 13 vendor-crypto V 25 dir 0-1575.0.r239851/3086 K 10 vendor-sys V 27 dir 0-12116.0.r239746/38258 END ENDREP id: 0.0.r239951/5562 type: dir pred: 0.0.r239950/619651 count: 239951 text: 239951 5029 520 520 d3590cde8a9041cb2529b20fc911617d cpath: / copyroot: 0 / minfo-cnt: 27127 6n-1556.2n-1557.t239950-555a modify-file true false /head/bin/mv/mv.1 6p-1556.2o-1557.t239950-555a modify-file true false /head/bin/mv/mv.c 5562 5732