Talk:mv (Unix)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

mv (Unix)[edit]

shouldn't it be under this name?--92.205.212.243 (talk) 09:35, 27 August 2012 (UTC)[reply]

the mv !(...) is not exactly right, because it utilises bash syntax and it would not work inside plain sh shell -- I guess there should be a note about this. 7z9 (talk) 09:30, 20 July 2014 (UTC)[reply]

Thanks to the hint.... fixed Schily (talk) 12:54, 25 March 2015 (UTC)[reply]

Example wrong?[edit]

mv be.03 /mnt/bkup/bes copies 'be.03' to the 'bes' directory of the mounted volume 'bkup', then 'be.03' is removed
mv be.03/* /mnt/bkup/bes Same as above, except each file moved out of be.03 is deleted individually instead of all being deleted at once after the entire copying is finished.

Shouldn't this be:

mv be.03 /mnt/bkup/bes copies 'be.03' to the 'bes' directory of the mounted volume 'bkup', then 'be.03' is removed
mv be.03/* /mnt/bkup/bes/be.03 Same as above, except each file moved out of be.03 is deleted individually instead of all being deleted at once after the entire copying is finished.

Im no linux expert but i dont think they produce the same result right now. HumanDoctorZoidberg (talk) 11:04, 16 May 2024 (UTC)[reply]