Crazy directory thing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/
--

--

Attachment: pgpffBqJ7SKuj.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux