Page is a not externally linkable
- Hardware and OS Related Technologies
-- Linux, Unix, and *nix like Operating Systems
---- A way to copy .htaccess files?


Philosopher - 3:39 pm on Jun 8, 2006 (gmt 0)


Well let me start by saying I don't do much command line work with *nix systems so I'm sure I'm missing something simple.

I have a directory that I want to copy over to many other directories.

I am using the following command sequence

cp -rRp * path/to/targetdirectory

Everything is copied and all permissions are preserved except for the .htaccess file. Is there an option I'm missing that will force cp to copy the .htaccess file as well?

Thanks in advance


Thread source:: http://www.webmasterworld.com/linux/1741.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com