Lesson 2 Step 6


#1

I have no idea why it's not working...

$ cd comedy
$ ls
satire shrek.txt slapstick the-office.txt
$ cp * satire/
cp: omitting directory ‘satire’
cp: omitting directory ‘shrek.txt’
cp: omitting directory ‘slapstick’
$ cd satire
$ ls
fight-club.txt the-office.txt

It's only copying the-office.txt into the satire directory... and omitting all the other things it's supposed to copy into the directory. Anyone know what's going on with this?


#2

Directories are skipped unless you add -r (recursive)