Peters Flexible RenAmiNg Kit (PFrank) Forum Index Peters Flexible RenAmiNg Kit (PFrank)
Support and Discussion Site for the PFrank File/Folder Renaming Tool (***NEW HOME PAGE*** "http://pfrank.atwebpages.com")
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

creating a new subfolder for every (say) 100 files?

 
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Regular Expressions
View previous topic :: View next topic  
Author Message
boggy



Joined: 13 Oct 2010
Posts: 2

PostPosted: Wed Oct 13, 2010 9:47 am    Post subject: creating a new subfolder for every (say) 100 files? Reply with quote

hi

I'm looking for a way to distribute files to subdirectories but without any rule available from the files.

If I had 285 files, I want to put the first 100 into subfolder 1 (say), the next 100 into subfolder 2, etc.

Is this where a plugin would be used, or is there a built in way?

cheers
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 448
Location: Canada

PostPosted: Wed Oct 13, 2010 11:54 pm    Post subject: Reply with quote

Hi,

Correct - there is no built-in way to do what you ask. A plugin would be required.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
boggy



Joined: 13 Oct 2010
Posts: 2

PostPosted: Thu Oct 14, 2010 8:23 am    Post subject: Reply with quote

Hi

Thanks for confirming that.

Would it be possible to use a digit or digits from a file's timestamp for creation etc as a randomising field. That would create up to 60 sub folders or even more if I combined multiple digits e.g. from a timestamp 13:45:48 there are lots of options if I can get hold of each number...

Regards

boggy
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 448
Location: Canada

PostPosted: Thu Oct 14, 2010 2:44 pm    Post subject: Reply with quote

Yes, the python library provides functions for reading timestamps from files which could then be converted to a string and combined in any way to create sub-foldernames which can then be used to create subfolders.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Regular Expressions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com