About Me

I am a Dutch Linux SysAdmin, recently changed jobs from being a full time freelance press photographer. Here i will describe my struggle for RHCE certification

Links

More RedHat

Search


« Command line tools [ls] | Home | route and virt-manager »

command line tools [cp]

By Mark | June 20, 2008

Problem with cp was how to copy all hidden files and hidden directories from a directory without copying the toplevel directory ” ..” . This is achieved by forcing a alphanumeric sign behind the first dot. Like this : cp -a ./.[A-Z,0-9]*

Topics: Perequisite Skills | 1 Comment »

One Response to “command line tools [cp]”

  1. Michel Says:
    July 1st, 2008 at 10:29 am

    Easier : cp -a ./[!.].*

Comments

Security Code: