Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] trailing / and cp
- Date: Sat, 6 Sep 2003 16:23:50 +0900 (JST)
- From: Tony Laszlo <laszlo@example.com>
- Subject: [tlug] trailing / and cp
when using bash2.05a on a certain box, I get different results for these two commands: cp -rf directory directory2 cp -rf directory/ directory2 The second line dumps the _contents_ of directory into directory2 , for disastrous results. The problem is, on most machines that I use the two lines give identical results (directory2/directory), so every now and again I slip up and make a mess of directory2, when using this one box above. Is there anything I can do in .bash_profile that would result in the two commands doing the same thing? Thanks. Tony Laszlo http://www.issho.org/LaszloBlog
Home | Main Index | Thread Index
- Prev by Date: Access to List Archive (Was: [tlug] Test, Please Ignore)
- Next by Date: Re: [tlug] AirH" with Linux (RedHat9 more specifically)
- Previous by thread: [tlug] repost: debian weekly news
- Next by thread: [tlug] im-ja v0.8
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links