Gnuru.org
Productive Linux


Subscribe

 Subscribe via Feedburner in a reader

Enter your email address:

Delivered by FeedBurner


Login
Login:
Password:



Don't have an account?
Sign up to Gnuru.org
Forgot your password?

Including dot.files in bash expansions
5 March 2004 @ 17:37 GMT
by Paul

There are two ways of including dot.files in bash expansions.

One is to set bash's dotglob variable by using the command:

shopt dotglob

The other is to include the dot explicitly. So to copy all dot.files in a directory:

 cp /source/.* /destination/



Comments disabled