Go Back   FlashFXP Forums > >

Custom Commands Download, share, or get help creating your own.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-02-2014, 11:32 AM   #6
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

I am thinking about adding additional switches to the /select command so that one could select based on size and age what do you think?

Right now I am experimenting with this idea and it seems to work quite well, though I am unsure if it will be added at this stage.

The switches would be something like this
-<value> for the minimum value
+<value> for the maximum range

Select based on an size range
Code:
:size-<min>+<max>
It would support the following suffixes b=byte, m=megabyte, g=gigabyte

Code:
:size-10M
meaning any file with a size of 10MB or less

Code:
:size+5M-10M
meaning any file with a size of at least 5MB or more but equal or less than 10MB

Select based on an age range
Code:
 :age-<min>+<max>
It would support the following suffixes s=second, m=minute, h=hour, d=day, y=year

Code:
 :age-1d
meaning any file with a modified date equal or less than 1 day from now.

Code:
 :age+12h
meaning any file with a modified date equal or more than 12 hours from now.

Code:
 /select -f :size-10M
select all files with a size 10MB or less
bigstar is offline  
 

Tags
command, custom, opensight, provide, suggestions

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:48 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)