Restrict Text Report to a particular filetype e.g. *.tab
Hi,
I would like to be able to run a script recursively over very large drives to find files of a specific type without having to first use Find Files. Is this possible, the current script I am using is below, what I want is to be able to run this but limit the results to a single file type.
Script:
text report("{Name}|{Fullpath}|{prop:Owner}|{modified yyyy-mm-dd hh:nn:ss}|{created yyyy-mm-dd hh:nn:ss}|{accessed yyyy-mm-dd hh:nn:ss}|{Size MB}|{Len}<crlf>")
Thanks, Daryl.
Restrict Text Report to a particular filetype e.g. *.tab
-
dhickey
- Posts: 2
- Joined: 29 May 2017 01:18
-
highend
- Posts: 15003
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Restrict Text Report to a particular filetype e.g. *.tab
Welcome to the forum.
report() has a second argument, [itemlist], so:
Start it while you are in the root of a drive or give quicksearch the full path as it's second argument...
report() has a second argument, [itemlist], so:
Code: Select all
text report("{Name}|{Fullpath}|{prop:Owner}|{modified yyyy-mm-dd hh:nn:ss}|{created yyyy-mm-dd hh:nn:ss}|{accessed yyyy-mm-dd hh:nn:ss}|{Size MB}|{Len}<crlf>", quicksearch("*.tab", , "|"));
One of my scripts helped you out? Please donate via Paypal
-
dhickey
- Posts: 2
- Joined: 29 May 2017 01:18
Re: Restrict Text Report to a particular filetype e.g. *.tab
Hi,
This is working, albeit slowly, thanks for your assistance.
This is working, albeit slowly, thanks for your assistance.
-
highend
- Posts: 15003
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Restrict Text Report to a particular filetype e.g. *.tab
quicksearch() is fast, report() is rather slow (but it has to fetch some information for every file, so...)
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club