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 08-09-2014, 11:17 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Using the latest FlashFXP v5.0 release you can do this with custom commands.

Code:
/select -f :age+30d
This instructs FlashFXP to select only files with a date/time older than 30 or more days.

Now to make this into a queue entry we can enqueue raw commands by right-clicking the file list and selecting enqueue > raw command from the popup menu.

The whole process is as followed:
1. Connect to the site where you want to perform this operation.
2. Enqueue the following as a single raw command.
(Click the down triangle on the raw command dialog to switch to multi-line mode)
Code:
/cd /folder/you/want/to/delete/from
/select -f :age+30d
/delete selected
3. Save the queue to a file.

Additional Information
The multi-line toggle button on the raw dialog was added in v5.0.0.3756

The reason we're doing this as a single raw command is because we want to abort the command block if the first command (/cd <path>) fails.
bigstar is offline  
 

Tags
delete, files, flashfxp, ideas, wondering

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 06:25 AM.

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