Crazy directory thing

Andy Pieters mailings at vlaamse-kern.com
Wed Jun 8 09:55:13 UTC 2005


Hi all

I have been noticing some strange behaviour and was hoping someone here is 
more experienced to know what is going on.

Directory structure

+home
+--ogg
| +-- incomming
\--incomming

So I do 

cd ~/incomming
mv *.mp3 ../ogg/incomming
Result: mv: when moving multiple files, last argument must be a directory
cp *.mp3 ../ogg/incomming
Result: cp: `../ogg/incomming': specified destination directory does not exist
file ../ogg/incomming
../ogg/incomming: ERROR: cannot open `../ogg/incomming' (No such file or 
directory)

WTF?

cd ../ogg/incomming
file .
.: directory
mv ../../incomming/*.mp3 .
Result: ok

Weird isn't it?

Andy

-- 
Registered Linux User Number 379093
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
 under the GPL2 and that are meant for use with a 
 php cli binary:
 
 http://www.vlaamse-kern.com/sas/
--

--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050608/2cd5c8e5/attachment-0001.sig>


More information about the fedora-list mailing list