Two tasks and a suggestion

Discuss RoboTask here
Post Reply
File Manager
Posts: 3
Joined: Wed Oct 24, 2012 2:22 pm

Two tasks and a suggestion

Post 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!
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Two tasks and a suggestion

Post 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.
File Manager
Posts: 3
Joined: Wed Oct 24, 2012 2:22 pm

Two tasks and a suggestion

Post 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!
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Two tasks and a suggestion

Post 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.
File Manager
Posts: 3
Joined: Wed Oct 24, 2012 2:22 pm

Two tasks and a suggestion

Post 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.
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Two tasks and a suggestion

Post 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.
Post Reply