|
|
Watch for undocumented behavior of cp -R
"The man page for cp says that cp -R directory1 directory2 "…
Watch for undocumented behavior of cp -R
Yes, this behavior is logical if you think about it, but the point is that it is still easy to accidently do the wrong one, especially with tab-completion.
Watch for undocumented behavior of cp -R
If you use zsh instead of bash, the trailing slash is removed after tab completion if you don't do anything else with it.
more dangerous
Which is exactly why command lines are considered more dangerous than a GUI.
Watch for undocumented behavior of cp -R
Well, / is a delimiter to identify folder-files. So it actually isn't quite logical that you copy the directory under folder/ without copying the folder itself too. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.13 seconds |
|