[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backing up hidden files



Robert Storey said:
> I've been trying to find a clever way to back up or copy hidden files such
> as .emacs, .xinitrc, and so on, along with my other data files. The
> problem is that tar and cp ignore hidden files if you use * as a wildcard.
> And if you try something like this:
>
>    bob@sonic:~/temp$ tar -cvf target.tar * .?*


tar -cvf target.tar ~/temp

or

cd ; tar -cvf target.tar temp/

is what I do ..

nate





Reply to: