Portál AbcLinuxu, 6. května 2025 17:26
mv
Řešení dotazu:
mv
je úplně jedno, je-li adresář prázdný nebo ne.
mv -v El\ Metodo\ \(The\ Method\)\ \[2005\]\ DvDrip-paTon/ ./../download/ mv: nelze přesunout „El Metodo (The Method) [2005] DvDrip-paTon/“ do „./../download/El Metodo (The Method) [2005] DvDrip-paTon“: Adresář není prázdný
mv --version mv (GNU coreutils) 8.5 Copyright © 2010 Free Software Foundation, Inc. Licence GPLv3+: GNU GPL verze 3 nebo novější Toto je svobodné programové vybavení: máte právo jej měnit a šířit. VEŠKERÉ ZÁRUKY chybí, jak jen zákon dovoluje. Napsali Mike Parker, David MacKenzie a Jim Meyering.
`mv' can move any type of file from one file system to another. Prior to version `4.0' of the fileutils, `mv' could move only regular files between file systems. For example, now `mv' can move an entire directory hierarchy including special device files from one partition to another. It first uses some of the same code that's used by `cp -a' to copy the requested directories and files, then (assuming the copy succeeded) it removes the originals. If the copy fails, then the part that was copied to the destination partition is removed. If you were to copy three directories from one partition to another and the copy of the first directory succeeded, but the second didn't, the first would be left on the destination partition and the second and third would be left on the original partition.
mv
je to doopravdi jedno...
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.