Page 1 of 1

Two tasks and a suggestion

Posted: Wed Oct 24, 2012 2:41 pm
by File Manager
Hello, people!Missed yesterday's offer at BitsDuJour because I was trying to build two tasks I need often.Well - not enough reason to quit...Can someone please provide me a complete solution to:1. clone a whole folder/drive structure on a subfolder so I can have a functional snapshot, preserving original files/folders date and system attributes?2. monitor and move files to incrementally numbered folders if a
source folder is filled with 3000 files, so each time such a folder
reaches 3000 files they are moved to those numbered, recipient folders?I've fiddle enough with "copy new arrived files", "count files" and "Monitore new files" samples so I ask for help here.Suggestion: revise the samples available on robotask site. Several contain such 'unknown' actions, preventing them to work. "Sort folders by first letter" to name one.Thanks in advance!

Two tasks and a suggestion

Posted: Thu Oct 25, 2012 11:49 am
by Oleg
clone a whole folder/drive structure on a subfolder so I can have a functional snapshot, preserving original files/folders date and system attributes?
Try Synchronize folders action. It can synchronize folder with sub-folders
Several contain such 'unknown' actions, preventing them to work. "Sort folders by first letter" to name one.
This task contains actions from Basic Plugin.
You can download and install Basic plugin additionally.
This plugin is not included into installation package by default.

Two tasks and a suggestion

Posted: Thu Oct 25, 2012 12:50 pm
by File Manager
By 'snapshot' I meant: files with size = 0 so they won't take any noticeable space. Sync won't do, IOW.Then don't you think it's a good idea mentioning the 'basic plugin' as a requirement in the 'samples' page, Oleg?And please, if you can take the time, help me with the item 2 - specially the numbering increment part...Thanks!

Two tasks and a suggestion

Posted: Thu Oct 25, 2012 1:21 pm
by Oleg
By 'snapshot' I meant: files with size = 0 so they won't take any noticeable space. Sync won't do, IOW.
"Synchronize folders" copies all specified files including empty files.
I've just checked this. This is logical, IMHO.

Two tasks and a suggestion

Posted: Thu Oct 25, 2012 1:30 pm
by File Manager
Oleg wrote:
By 'snapshot' I meant: files with size = 0 so they won't take any noticeable space. Sync won't do, IOW.
"Synchronize folders" copies all specified files including empty files.
I've just checked this. This is logical, IMHO.
Sorry for not being clear on this...Think on 'cloning all files/folders structure anywhere else, preserving system and date attributes and turning all cloned files into zero-sized ones'.Better...?I saw the concept on a forum, found it interesting, it seems that there's demand for such a thing but current methods are slow and painful.

Two tasks and a suggestion

Posted: Thu Oct 25, 2012 2:01 pm
by Oleg
Do you want to get the exact copy of folder structure with files, but all files must be empty? Is this correct?

Yes this is possible. But you can't get this in a couple steps.
The task will be a bit complicated.
You can do this in a File Loop, but you should create files in destination folder, set DateTime and attributes of files in separate steps.

To create empty file use "Write text file"
In order to set date-time use TOUCH system utility
In order to set attributes you may use "File attributes" action or ATTRIB system command.