Chris wrote:
On Monday 23 October 2006 17:38, Bob McGowan wrote:
Chris wrote:
Hello,
How can I list all hidden files or directories with ls?
ls .*
does not give the desired result. Id like to archive all the hidden
files in my home folder.
Thanks,
Chris
Chris,
I've been
On Monday 23 October 2006 17:38, Bob McGowan wrote:
> Chris wrote:
> > Hello,
> >
> > How can I list all hidden files or directories with ls?
> >
> > ls .*
> >
> > does not give the desired result. Id like to archive all the hidden
> > files in my home folder.
> >
> > Thanks,
> >
> > Chris
>
> Chr
Chris wrote:
Hello,
How can I list all hidden files or directories with ls?
ls .*
does not give the desired result. Id like to archive all the hidden files in
my home folder.
Thanks,
Chris
Chris,
I've been through the list of posts responding to your question and saw
that you did fin
Oh, yeah?
open "$" ,8
:P
On Sun, 2006-10-22 at 05:28 -0500, Ron Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 10/22/06 05:21, Tim Post wrote:
> > A really bad joke is brewing if this thread keeps up. Ah heck, why not.
> >
> > How many sysadmins does it take to list t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/22/06 05:21, Tim Post wrote:
> A really bad joke is brewing if this thread keeps up. Ah heck, why not.
>
> How many sysadmins does it take to list the files in one directory?
In OpenVMS, it's very easy:
DIR :== DIREC/DA/SIZ=ALL
DIR SYS$LOGIN:
A really bad joke is brewing if this thread keeps up. Ah heck, why not.
How many sysadmins does it take to list the files in one directory?
... [ ducking ]
On Sun, 2006-10-22 at 12:16 +0200, David Jardine wrote:
> On Sun, Oct 22, 2006 at 10:19:20AM +0200, Bj??rn Lindstr??m wrote:
> > Ron Johnson
On Sun, Oct 22, 2006 at 10:19:20AM +0200, Bj??rn Lindstr??m wrote:
> Ron Johnson <[EMAIL PROTECTED]>:
>
> > To get *only* (well, *mostly*) hidden files), try:
> >
> > ls -aFl | grep " \."
>
> That's quite a bit more complex than necessary.
>
> ls -d .*
But again, that also gives you the . and .
Ron Johnson <[EMAIL PROTECTED]>:
> To get *only* (well, *mostly*) hidden files), try:
>
> ls -aFl | grep " \."
That's quite a bit more complex than necessary.
ls -d .*
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Saturday 21 October 2006 18:37, Tim Post wrote:
> ls -A | grep ^[.] doesn't give you . and .. :)
>
> tar -czvf foo.tar.gz `ls -A | grep ^[.]` should produce the results you
> want wrt archiving the resulting files.
>
> Best,
> -Tim
>
> > ls -a | grep ^[.]
> >
> > This will, however, still give y
On Saturday 21 October 2006 18:30, Girish Venkatachalam wrote:
> On Sat, Oct 21, 2006 at 05:31:11PM +0200, Chris wrote:
> > I know, I'm being a pain, but if I want to pipe this list to tar?
> > Something like:
> >
> > tar -cvvzf test.tar.gz (ls -aFl grep " /.")
> >
> > ???
>
> Who said so ? That y
ls -A | grep ^[.] doesn't give you . and .. :)
tar -czvf foo.tar.gz `ls -A | grep ^[.]` should produce the results you
want wrt archiving the resulting files.
Best,
-Tim
>
> ls -a | grep ^[.]
>
> This will, however, still give you the . and .. directories.
>
> --Ben
>
>
--
To UNSUBSCRIB
On Sat, Oct 21, 2006 at 05:31:11PM +0200, Chris wrote:
> I know, I'm being a pain, but if I want to pipe this list to tar? Something
> like:
>
> tar -cvvzf test.tar.gz (ls -aFl grep " /.")
>
> ???
Who said so ? That you are a pain? :-)
You are a pleasure since I know the best way to do it. :-)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/21/06 10:31, Chris wrote:
> On Saturday 21 October 2006 14:48, Clive Menzies wrote:
>> On (21/10/06 07:23), Ron Johnson wrote:
>>> On 10/21/06 07:14, Clive Menzies wrote:
On (21/10/06 14:01), Chris wrote:
[snip]
> I know, I'm being a pain, b
Chris wrote:
Hello,
How can I list all hidden files or directories with ls?
ls .*
does not give the desired result. Id like to archive all the hidden files in
my home folder.
Thanks,
Chris
ls -a | grep ^[.]
This will, however, still give you the . and .. directories.
--Ben
--
To UN
On Saturday 21 October 2006 14:48, Clive Menzies wrote:
> On (21/10/06 07:23), Ron Johnson wrote:
> > On 10/21/06 07:14, Clive Menzies wrote:
> > > On (21/10/06 14:01), Chris wrote:
> > >> Hello,
> > >>
> > >> How can I list all hidden files or directories with ls?
> > >>
> > >> ls .*
> > >>
> > >>
On (21/10/06 07:23), Ron Johnson wrote:
> On 10/21/06 07:14, Clive Menzies wrote:
> > On (21/10/06 14:01), Chris wrote:
> >> Hello,
> >>
> >> How can I list all hidden files or directories with ls?
> >>
> >> ls .*
> >>
> >> does not give the desired result. Id like to archive all the hidden files
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/21/06 07:14, Clive Menzies wrote:
> On (21/10/06 14:01), Chris wrote:
>> Hello,
>>
>> How can I list all hidden files or directories with ls?
>>
>> ls .*
>>
>> does not give the desired result. Id like to archive all the hidden files
>> in
>>
On (21/10/06 14:01), Chris wrote:
> Hello,
>
> How can I list all hidden files or directories with ls?
>
> ls .*
>
> does not give the desired result. Id like to archive all the hidden files in
> my home folder.
ls -al
Regards
Clive
--
www.clivemenzies.co.uk ...
...strategies for busines
18 matches
Mail list logo