Hi, David--
That did it! Thank you :)
So, now when I run it I get the following output:
# ./date_sort /desktop
Sep 13 11:10:34 2005/desktop/.localized
Nov 8 09:12:40 2005/desktop/date_sort
But there are actually 76 items on my desktop. Is it possible I'm not
specifying an option
Jeffrey Ellis wrote:
Hi, Richard --
Do you mean in David's script (I have heard of that happening before with
copy and paste)?
How can I tell if that's the case? And how would I go about fixing it?
that's right, in the script that's trying to run.
usually with the default vi, you should
Ok. It looks like:
Find -x / -ls
basically gives me what I need. But I am seeing two things I still need to
do to the results. First, I need to sort the ls by modification time. It
seems none of the options for ls work from within find -- or at least with
the syntax ls -x. I also looked at doing
Jeffrey Ellis wrote:
Ok. It looks like:
Find -x / -ls
basically gives me what I need. But I am seeing two things I still need to
do to the results. First, I need to sort the ls by modification time. It
seems none of the options for ls work from within find -- or at least with
the syntax ls -x.
Aha... Thanks, Eric :)
Well, at least I know it can do it now. The problem -- as usual for a newbie
-- is that I haven't got the vaguest understanding of what I just read. The
field part I think I get, but how would I use the first character? I guess
I'm basically too stupid to get these kind of
On Mon, 7 Nov 2005, Jeffrey Ellis wrote:
Well, at least I know it can do it now. The problem -- as usual for a newbie
-- is that I haven't got the vaguest understanding of what I just read. The
field part I think I get, but how would I use the first character? I guess
I'm basically too stupid to
Hi, David--
Thank you.
Wow. That looks great...
Um... Can you tell me how to run it?
All My Best,
Jeffrey
on 11/7/05 11:32 AM, David Fleck at [EMAIL PROTECTED] wrote:
On Mon, 7 Nov 2005, Jeffrey Ellis wrote:
Well, at least I know it can do it now. The problem -- as usual for a newbie
On Mon, 7 Nov 2005, Jeffrey Ellis wrote:
Hi, David--
Thank you.
Wow. That looks great...
Um... Can you tell me how to run it?
Assuming you've saved everything from '#!/usr/bin/perl' to the final '}',
inclusive, to a file, name the file something, like 'date_sort'. Then
chmod +x
Y'know, being a newbie at something is about as stupid as things generally
get. So I'm feeling totally dumb at the moment.
The directory I need to perform the find on, when using find, is just /.
find -x /
The -x is to limit the find to only the startup volume.
But when I try:
# ./date_sort /
On Mon, 7 Nov 2005, Jeffrey Ellis wrote:
Y'know, being a newbie at something is about as stupid as things generally
get. So I'm feeling totally dumb at the moment.
The feeling will go away after a while, really.
But when I try:
# ./date_sort /
I get:
use: bad interpreter: No such file or
Hi, David--
Thanks :)
# which perl
/usr/bin/perl
#head date_sort
head: date_sort: No such file or directory
All My Best,
Jeffrey
on 11/7/05 3:17 PM, David Fleck at [EMAIL PROTECTED] wrote:
On Mon, 7 Nov 2005, Jeffrey Ellis wrote:
Y'know, being a newbie at something is about as stupid as
David Fleck wrote:
On Mon, 7 Nov 2005, Jeffrey Ellis wrote:
But when I try:
# ./date_sort /
I get:
use: bad interpreter: No such file or directory
usual suspect is Carriage Return/Line Feed line term instead of just
Line Feed.
___
On Mon, 7 Nov 2005, Jeffrey Ellis wrote:
Hi, David--
Thanks :)
# which perl
/usr/bin/perl
#head date_sort
head: date_sort: No such file or directory
??? where'd the file go?
Also, did you see Richard Burakowski's note about the possible
carriage return / line feed problem?
--
David
Hi, Richard --
Do you mean in David's script (I have heard of that happening before with
copy and paste)?
How can I tell if that's the case? And how would I go about fixing it?
All My Best,
Jeffrey
on 11/7/05 4:33 PM, Richard Burakowski at [EMAIL PROTECTED]
wrote:
David Fleck wrote:
On
14 matches
Mail list logo