Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 04-13-2017, 05:48 AM   #1
colink
Junior Member
FlashFXP Registered User
 
Join Date: Feb 2017
Posts: 3
Default RAW Command for copying local files to second folder?

Thanks for your help in correcting my syntax for deleting files on server >30 days
https://oss.azurewebsites.net/forum/flash...-new-post.html

What RAW commands would I need to copy files <7 days from one folder on my local drive to another folder?

Current location
C:\folder\folder-all

Copy to
C:\folder\folder-recent

Last edited by colink; 04-13-2017 at 06:11 AM.
colink is offline  
Old 04-17-2017, 12:54 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Code:
# require local browser
/require local
#display progress box with ability to abort operation
/busybox
# change into desired folder
/cd C:\folder\folder-all\
# select all files modified within the last 7 days
/select -f * :age-7d
# copy selected to C:\folder\folder-recent\
/copyfile "%p%f" "c:\folder\folder-recent\%f"
bigstar is offline  
Closed Thread

Tags
copy, days, files, raw, server

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 11:22 PM.

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