Select todays files

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Select todays files

Post by *seb- »

Hi,

i often want to select and copy files which were created $today.

There is two options i know:

1. manually select the files

2. search for files created between $date and $date - where $date == todays date.

Option 2 is quite quick, but i was wondering wether it is possible to use variables like "$today" so it is possible to save a search and use it quickly every day, maybe by menu, button or shortcut.

Using "x days old" option is not good enough, it also finds files which are created yesterday but less than 24hours old.

I couldn't find a wdx plugin that would offer this. Anyone knows an easy way to accomplish this?

This would shorten my daily "copy new photos from sd-card to laptop"-routine when travelling ;)

thanks+br
seb-
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Re: Select todays files

Post by *milo1012 »

seb- wrote:Using "x days old" option is not good enough, it also finds files which are created yesterday but less than 24hours old.
While you were at that point, why didn't you just say e.g.:
we have it 14:00 (2 PM) now, so please search files that aren't older than 14 hours
?

I don't think that there is a wdx plugin for that special occasion,
all plugins I know of assume "one day" as "the last 24 hours".

You may try Age.
Create a custom column, select age-> [=age.Modified.Hours]
(or created if you need this).

So you now have a custom view of how many hours your files are old.
You might want to create a second column with minutes.
But still you need to calculate from the current time backwards.
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Re: Select todays files

Post by *seb- »

thanks for your feedback
milo1012 wrote:
seb- wrote:Using "x days old" option is not good enough, it also finds files which are created yesterday but less than 24hours old.
While you were at that point, why didn't you just say e.g.:
we have it 14:00 (2 PM) now, so please search files that aren't older than 14 hours
?
(...)
But still you need to calculate from the current time backwards.
This would still be manual work todo. Having a method of specifying the date only (today - without time) would solve the problem.

I want to automate it as far as i can with what TC offers...
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Post by *LonerD »

seb-
Use plugin Today.
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

LonerD wrote:seb-
Use plugin Today.
Interesting.
I wonder why such a plugin is neither listed on the TC site nor on totalcmd.net.
Did you code it yourself?
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Post by *seb- »

LonerD wrote:seb-
Use plugin Today.
Thanks for the hint, but TC cant open the zip... is the file corrupt?

sha1 9a839b365801ed6aab0e99c0b7673d2090916846 *wdx_Today.zip
User avatar
petermad
Power Member
Power Member
Posts: 16142
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2seb-

Try and download again - I get: sha1 59e3d39a77104f8ff07e8844e68545479ed46f8d *wdx_Today.zip
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply