View Full Version : How to copy hidden files use 'cp' command?
I'm very new to linux and I really don't know how to copy hidden files from one directory to another directory use 'cp' command.
Ghandalfar
05-11-2003, 12:05 PM
you could do:
cp /orig/dir/.* /other/dir/.
hidden files are prefixed with dot so this command just selects everything that starts with dot and copies it to /other/dir
you could do:
cp /orig/dir/.* /other/dir/.
hidden files are prefixed with dot so this command just selects everything that starts with dot and copies it to /other/dir
Ghandalfar
Thank you very much.
=========
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.