Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 18 Dec 2018, 19:54
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Any tool to find files modified on specific days?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [44 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1547

PostPosted: Mon 18 Apr 2016, 16:36    Post subject:  

I understood the find example by MochiMoppel best myself. Just substitute the dates for the range you want. No month language nonsense, just simple numbers (I like numbers!). And find already comes with Puppy, bonus!

(waits for the musher0 mob to hit me over the head with a tree! Laughing )
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13185
Location: Gatineau (Qc), Canada

PostPosted: Mon 18 Apr 2016, 18:53    Post subject:  

Sailor Enceladus wrote:
I understood the find example by MochiMoppel best myself. Just substitute the dates for the range you want. No month language nonsense, just simple numbers (I like numbers!). And find already comes with Puppy, bonus!

(waits for the musher0 mob to hit me over the head with a tree! Laughing )
Hey, musher0 mob? You heard the Sailor! Get some trees! Twisted Evil
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)

Last edited by musher0 on Tue 19 Apr 2016, 21:47; edited 1 time in total
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1716
Location: Japan

PostPosted: Tue 19 Apr 2016, 21:38    Post subject:  

smokey01 wrote:
You are quite correct. I couldn't get it to work either. I just noticed it had facilities to search between dates.
Good to know that it's not only me Laughing

I tried this function again and found that it has a number of bugs.
  • Search for a single day is not possible. No files found.
  • mtime and ctime are mixed up. Not just in the explanation, but also in the output
  • the search is incomplete. Some files are missing from the result.
pfind_bugs.png
 Description   
 Filesize   179.71 KB
 Viewed   465 Time(s)

pfind_bugs.png

Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13185
Location: Gatineau (Qc), Canada

PostPosted: Tue 19 Apr 2016, 21:51    Post subject:  

As I said here, stop losing your time struggling with find and
use the tree + awk combination.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1716
Location: Japan

PostPosted: Tue 19 Apr 2016, 22:10    Post subject:  

Please stop barking up the wrong awk tree. Three times is enough now. Thank you.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13185
Location: Gatineau (Qc), Canada

PostPosted: Wed 20 Apr 2016, 20:33    Post subject:  

MochiMoppel wrote:
Please stop barking up the wrong awk tree. Three times is enough now. Thank you.
Hey MochiMoppei.

Wait a minute. This is a public thread. It does not belong to you, it belongs to the
Puppy community.

You asked a question and I contributed potential solutions. If you do not like them,
if you do not like tree, awk or piping, that's your problem, not mine.

Rest assured that I will "bark" every time that you ignore or squarely put down the
solutions that I suggest without a valid reason, or that you yourself offer one-track-
minded solutions. You do not have the monopoly of knowledge, and neither do I.

As of this writing, my solutions are better than those that you have presented. My
solutions are clear and they work. I've proven so. Be fair and I'll stop "barking".

Actually, I should be the one demanding apologies from you.

Best regards.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1547

PostPosted: Wed 20 Apr 2016, 21:51    Post subject:  

@musher0: MochiMoppel's last post was about pfind, which is a GUI by zigbert that doesn't really have much to do with find, except sharing a similar name, and that it can also find things (and possibly using some of the code from find under the hood). I believe he was reporting the bugs/limitations with pfind just out of interest and for information, maybe zigbert will read this thread and fix them, if not then at least it is good (or useful) for others to know. find (not to be confused with pfind) already works great using the code MochiMoppel has posted/expanded upon. Now imagine if zigbert's tool was called ptree instead, we might all be saying use find because tree doesn't work, and you would be the one angered because people are suggesting "you should have used my superior find program because tree doesn't work" when tree really does work, and you already explained that it did, and it's ptree that is messed up (not to be confused with the Pteranodon from Land Before Time Laughing ).

Hopefully you can see from this explanation, that your response here seems a bit out to lunch (in the potatoes?):

musher0 wrote:
As I said here, stop losing your time struggling with find and
use the tree + awk combination.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13185
Location: Gatineau (Qc), Canada

PostPosted: Thu 21 Apr 2016, 02:44    Post subject:  

@Sailor Enceladus

Thanks for your intervention.

All I see in MochiMoppei's post and in some posts from others in this thread is that
results with "Find & Co." are incomplete or complicated to obtain.

Also, my suggestions are brushed away without a valid reason. The impression I get
is that those people do not have the intellectual thoroughness or integrity to test
solutions that are beyond their limited habits.

So yeah, I'm defending myself. My solutions and results up to now have been
good, even better than theirs, and they are too darn proud to admit it. Or to practice
"Cartesian doubt", such as: "I don't like musher0's solutions, but maybe he's is on
to something."

What makes me the most angry is not so much the lack of recognition from them
(at my age, i've become thick-skinned about it) as their tone and their indifference to
goal-focused research. With that attitude, they're going nowhere fast. They don't
have the intellectual curiosity to look beyond the fence they have surrounded
themselves with.

Bah. Human nature.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 2118
Location: Maine, USA

PostPosted: Thu 21 Apr 2016, 12:24    Post subject:  

Quote:
They don't have the intellectual curiosity to look beyond the fence they have surrounded themselves with.


And that is their choice.

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Back to top
View user's profile Send private message Visit poster's website 
musher0

Joined: 04 Jan 2009
Posts: 13185
Location: Gatineau (Qc), Canada

PostPosted: Thu 21 Apr 2016, 13:03    Post subject:  

trapster wrote:
Quote:
They don't have the intellectual curiosity to look beyond the fence they have surrounded themselves with.
And that is their choice.
Perhaps, but nobody should have to suffer from it.
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)

Last edited by musher0 on Thu 21 Apr 2016, 14:13; edited 1 time in total
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Thu 21 Apr 2016, 13:08    Post subject:  

Frankly, there is good information here.

Last year, we have discussed in the forum about the ability to "locate" files in the file system. @StemSee AND @Musher0 responded with tools that allows anyone, developer or user, to INSTANTLY find files they were looking for.

The problem that they addressed centered around decades old Linux commands that had been stripped out of Bash. Use of those commands gave PUP users instant locations of files without having to have the find command or similarly pfind spend eons of time crawling thru our file systems for the answers we seek.

This year, @Musher0 extended another command which was previously stipped out of Puppy's Bash; namely the Linux "tree" command which brings additional benefits in finding files contained in our filesystems.

I can see what he is trying to get members combing this tread to see. Although he hasn't mentioned the Linux "slocate/locate/updatedb" which he and @StemSee helped with last year (which I think is appropriate in this thread's discussion), he has shown how the Linux "tree" command can help us.

Hopefully, others can see benefit. If our "full" Bash has these commands, like say Lighthouse/FATDOG/Just-Lighthouse have, some of this discussion in this thread would not have occurred.

Look for yourself and evaluate what is a good alternative for yourselves. And, Don't overlook instantaneously locating your files, as well. For some of us, these abilities are a very valuable commodity.

Hope everyone finds benefit in the useful posts that members are offering.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13185
Location: Gatineau (Qc), Canada

PostPosted: Thu 21 Apr 2016, 14:10    Post subject:  

Sailor Enceladus wrote:
@musher0:(...) ptree that is messed up (not to be confused with the Pteranodon from Land Before Time Laughing ).
(...)

Cute little thing, that "ptree"! Laughing

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13185
Location: Gatineau (Qc), Canada

PostPosted: Thu 21 Apr 2016, 14:11    Post subject:  

@gcmartin: Thanks for the words of wisdom.
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
scientist

Joined: 23 May 2015
Posts: 864

PostPosted: Thu 21 Apr 2016, 14:30    Post subject:  

Impressive and pretty fast. Smile

I do not understand what the sort command does ?

"sort via key" is cryptic.

_________________
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Thu 21 Apr 2016, 14:39    Post subject:  

musher0
guaranteed to mess up your thread and persist if you don't like his answers

I have found much wisdom in other posters posts here . Thanks
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 2 of 3 [44 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0594s ][ Queries: 12 (0.0096s) ][ GZIP on ]