Ticket #2718 (closed enhancement: invalid)

Opened 12 years ago

Last modified 12 years ago

select files by modification date

Reported by: jacek_kal Owned by:
Priority: major Milestone:
Component: mc-core Version: master
Keywords: search filfer dates Cc: gotar@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Is there a possibility to add selecting files by date or search files by date?
For example:
I have a directory with 5000 files. I must select all files modified after specified date (before selected date or between dates), eg. files older that 31th Dec 2011.
Then I have to move, copy or delete those files.

Change History

comment:1 Changed 12 years ago by andrew_b

Sort files by date then select what you need.

comment:2 Changed 12 years ago by jacek_kal

It is impossible to select 3000 files from 5000 in directory within acceptable time.
Selecting using Insert key takes few minutes.
Or is there other, quickest way to select files?

comment:3 Changed 12 years ago by angel_il

key - "+"

comment:4 Changed 12 years ago by jacek_kal

Maybe Your answer is not in a topic, or I don't understand how to use "+" key.

What pattern I have to write, to select files with "random" names?
Once more - I need to select files between specified date, and not with filename pattern. And do this quickly (Insert key is not quick enough).

Last edited 12 years ago by jacek_kal (previous) (diff)

comment:5 Changed 12 years ago by angel_il

ok, you can use External panalize
0) touch -d "Jun 01 00:00 2011" /tmp/.date1
1) enter into your BIG dir
2) press C-x ! (External panalize )
3) add new command like a "find . -type f \( -newer /tmp/.date1 \) -print"

execute this command

comment:6 Changed 12 years ago by jacek_kal

Great! It is exactly I was looking for :)

comment:7 Changed 12 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to invalid

comment:8 Changed 12 years ago by andrew_b

  • Milestone Future Releases deleted

comment:9 Changed 12 years ago by gotar

  • Cc gotar@… added

See also #2727 - with those actions one can sort by appropriate attribute, locate starting file (there are faster movement methods like PgUp/PgDn) and mark everything till beginning or end.

Note: See TracTickets for help on using tickets.