Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > how to burn a large folder on multiple cd's?

how to burn a large folder on multiple cd's?
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2004
Status: Offline
Reply With Quote
Nov 10, 2004, 04:11 PM
 
here's my problem:
i got one large folder (6.2 GB) with 3200 jpeg files that i would like to backup on cd's...
that doesn't sound very problematic, right?

now, i figured out how to make a couple of disk images with disk utility. but when i select all files and drag them to an image, the image gets full and displays an error message...
i don't want to drag file after file, as you could imagine.

the first solution i thought about was to stuff all files into an archive and then split the archive in multiple smaller ones. but this seems a time consuming workflow (stuffit takes a lot of time making an archive that big). plus, i prefer not to have my pictures inside an archive, which could cause problems later on.

if anybody knows a simple way of dividing the large folder between multiple disk images, i would be very thankful!
     
Addicted to MacNN
Join Date: Apr 2001
Location: The bottom of Cloud City
Status: Offline
Reply With Quote
Nov 10, 2004, 04:57 PM
 
I don't know why you don't just split them into groups of 500 and burn em.

"Ahhhhhhhhhhhhhhhh"
     
Mac Elite
Join Date: Apr 2000
Location: Los Angeles, CA
Status: Offline
Reply With Quote
Nov 10, 2004, 08:15 PM
 
How did you intend to burn the archive onto multiple CDs? Unless these are DVDs you're talking about?
     
Mac Enthusiast
Join Date: Mar 2004
Status: Offline
Reply With Quote
Nov 10, 2004, 10:34 PM
 
yeah... dragging files into other folders has worked well for me

     
Fresh-Faced Recruit
Join Date: Apr 2004
Status: Offline
Reply With Quote
Nov 11, 2004, 05:53 AM
 
How did you intend to burn the archive onto multiple CDs? Unless these are DVDs you're talking about?
it takes about ten cd's but that gets the job done ;-)

I don't know why you don't just split them into groups of 500 and burn em.
yeah... dragging files into other folders has worked well for me
right, that's how i would like to do it!
but can i easily make folders of 620 mb without moving a bunch of files, get info, removing some, get info, adding a little, get info, ... ?

it would be a lot easier if i could move some files to a disk image, and then the finder adds those files until the image gets full...

it's also not easy to explain :-)
     
Mac Elite
Join Date: Apr 2000
Location: Los Angeles, CA
Status: Offline
Reply With Quote
Nov 11, 2004, 08:53 AM
 
I'm not sure if I got what you wanted, so correct me if I'm wrong:

- You have one folder containing a LOT of files (no folder structure inside it)
- You want to burn them into batches of CDs (no order necessary)
- You want the simplicity of being able to automate the process

Sounds like Tiger's Automator is right up your alley. Seriously, though, I can think of a solution that does using the Terminal (shell or Perl scripting) or AppleScript. Not aware if there's any shareware that does that already.

I could probably write a Java app or a Cocoa app to do that. Just have to iron out the stuff you specified.
     
Fresh-Faced Recruit
Join Date: Apr 2004
Status: Offline
Reply With Quote
Nov 11, 2004, 09:56 AM
 
to clear things up a bit:

- one parentfolder with a lot of pictures in it (no folder structure inside it)
- the pictures are named YYYYMMDD_HHMMSS_P.EXT (P is a code for the photographer or the camera) and arranged by name
<insert nifty little program>
- i would like to split up the parentfolder in multiple childfolders of 620 MB (named Parentfolder_CC with CC a counter varying from 01 to ...)
- it would be great if the pictures could still be in alphabetical order inside the multiple folders
<nifty little program did a splendid job>
- burn the folders on cd with finder...

anyhow, maybe there's a simple way of doing something like that in finder?
i got plenty of those folders to backup, so an applescript for this workflow would be terrific :-)
     
Mac Elite
Join Date: Apr 2000
Location: Los Angeles, CA
Status: Offline
Reply With Quote
Nov 11, 2004, 10:18 AM
 
How is the splitting going to be done? What rules will be used? Alphabetical/lexicographic order? Also, is 620MB the hard limit? Say certain files add up to 622MB or so, would you rather it be less or more?

I think AppleScript will do the job. I've already prepared a Java program that sort of does it. Am just now trying to freshen up my AppleScript.
     
Fresh-Faced Recruit
Join Date: Apr 2004
Status: Offline
Reply With Quote
Nov 11, 2004, 10:41 AM
 
ginoledesma, thanks for helping ;-)

splitting should be done in an alphabetical order...
the hard limit of the filesize should be 620 MB i think (it looks like that's the hard limit for a cd in mac os x)

voila, i hope you can help me, and i thank you for your time and effort!
     
Addicted to MacNN
Join Date: Apr 2001
Location: The bottom of Cloud City
Status: Offline
Reply With Quote
Nov 11, 2004, 11:42 AM
 
Originally posted by Usual Suspects:

it would be a lot easier if i could move some files to a disk image, and then the finder adds those files until the image gets full...

it's also not easy to explain :-)
If you have toast then dragging the files into the window tells you instantly how much room is being eaten up on the CD.

"Ahhhhhhhhhhhhhhhh"
     
Professional Poster
Join Date: Jan 2003
Location: Teaneck, NJ
Status: Offline
Reply With Quote
Nov 11, 2004, 12:35 PM
 
also if you have toast your limit should not be 620mb for a cd. I never let finder touch my blank cd's because it formats them and wastes a lot a space. I say use 700mb cd's and toast to burn everything. In fact most cd's will let you burn a megabyte or two over the 700mb limit.
     
Fresh-Faced Recruit
Join Date: Apr 2004
Status: Offline
Reply With Quote
Nov 11, 2004, 12:48 PM
 
i don't have toast; but i will look into it
on the other hand, if ginoledesma could write a little script, i wouldn't need toast :-)
     
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Nov 11, 2004, 05:12 PM
 
Maybe this is too easy, but have you tried clicking on the first photo, hitting Option-Command-I to bring up the inspector, and Shift-select a file down the list (so that it selects all the ones in between) and continue moving further down until you have the right number of MB? Then just move all those into a folder called cd 1, repeat the process with the large group, and continue to to so until there are no photos left in original folder. This method would not take very long at all.

For example. You have 3200 images. You click on image 1 and Option-Command-I to bring up the inspector on it. You scroll to image 100 and shift click that. Now images 1-100 are selected. If you aren't even half way to the goal of 620 MB, then maybe scroll down to image 300 and shift click on that. Now 1-300 are selected. You should be able to judge about how far to go by the time you're getting close. And if you go too far, just shift click on an image further up in the list and the selection will shrink.

Sure, this is a manual way to approach it, but really for 6 GB divided into roughly 10 CDs, this would not take long to accomplish at all.
     
Dedicated MacNNer
Join Date: Sep 2000
Location: New Orleans, La. USA
Status: Offline
Reply With Quote
Nov 11, 2004, 07:38 PM
 
Originally posted by Xeo:
Maybe this is too easy, but have you tried clicking on the first photo, hitting Option-Command-I to bring up the inspector, and Shift-select a file down the list (so that it selects all the ones in between) and continue moving further down until you have the right number of MB? Then just move all those into a folder called cd 1, repeat the process with the large group, and continue to to so until there are no photos left in original folder. This method would not take very long at all.
Just tried this and I did not know about it Thanks.
Cool, Works very well.

West
Mac Pro - 12 GB RAM - 30" & 23" Displays - 10.7.1
MacBook Pro - 2 GB RAM - 10.6.8
Airport Extreme • Canon iPF5000 • PIXMA Pro9000 • Xerox N2125
     
Fresh-Faced Recruit
Join Date: Apr 2004
Status: Offline
Reply With Quote
Nov 12, 2004, 02:21 PM
 
Originally posted by Xeo:
Maybe this is too easy, but have you tried clicking on the first photo, hitting Option-Command-I to bring up the inspector, and Shift-select a file down the list (so that it selects all the ones in between) and continue moving further down until you have the right number of MB? Then just move all those into a folder called cd 1, repeat the process with the large group, and continue to to so until there are no photos left in original folder. This method would not take very long at all.

For example. You have 3200 images. You click on image 1 and Option-Command-I to bring up the inspector on it. You scroll to image 100 and shift click that. Now images 1-100 are selected. If you aren't even half way to the goal of 620 MB, then maybe scroll down to image 300 and shift click on that. Now 1-300 are selected. You should be able to judge about how far to go by the time you're getting close. And if you go too far, just shift click on an image further up in the list and the selection will shrink.

Sure, this is a manual way to approach it, but really for 6 GB divided into roughly 10 CDs, this would not take long to accomplish at all.
thanks, Xeo
this is exactly the little trick i was searching for!
     
Mac Elite
Join Date: Apr 2000
Location: Los Angeles, CA
Status: Offline
Reply With Quote
Nov 13, 2004, 07:12 AM
 
Looks like you won't be needing the scripts, then.

Just in case you need to do more batching, here's the script I worked on (my first time writing AppleScript for Mac OS X):

File Batcher: Creates a series of folders named "Batch 1", "Batch 2", ... with each folder containing roughly 620MB of files. It only moves files (documents) into the folder, and not other folders.
Code:
property batch_name : "Batch " property file_size_limit : 620 * 1024 * 1024 -- 620MB => 620 x 1024 * 1024 bytes property batch_count : 1 on open of finderObjects set theItems to finderObjects repeat with theItem in theItems tell application "Finder" set itemKind to kind of theItem if itemKind is in {"folder", "disk"} then set parentFolder to theItem set theFiles to get files of theItem set totalFileSize to -1 set theFolder to batch_name & batch_count repeat with theFile in theFiles set fileSize to get size of theFile if totalFileSize > file_size_limit or totalFileSize < 0 then set newFolderName to batch_name & batch_count make new folder in folder theItem with properties {name:newFolderName} set theFolder to folder newFolderName of parentFolder set batch_count to batch_count + 1 set totalFileSize to 0 end if move theFile to theFolder set totalFileSize to totalFileSize + fileSize end repeat end if end tell end repeat end open
And here's the script that undoes what was previously done:
File Unbatcher: Puts all the files one-folder deep into the parent folder.
Code:
on open of finderObjects set theItems to finderObjects repeat with theItem in theItems tell application "Finder" set itemKind to kind of theItem if itemKind is in {"folder", "disk"} then set parentFolder to theItem set theFolders to get folders of theItem repeat with theFolder in theFolders move files of theFolder to parentFolder end repeat end if end tell end repeat end open
Save these scripts as applications using Script Editor and then drag the folder containing the files you want batched.

AppleScript is fun. I should've paid more attention to it sooner.
     
Fresh-Faced Recruit
Join Date: Apr 2004
Status: Offline
Reply With Quote
Nov 14, 2004, 04:21 AM
 
Originally posted by ginoledesma:
Looks like you won't be needing the scripts, then.
hey, why would i do it manually, when the machine could do it for me...
your help is really appreciated. thank you very much ginoledesma!
     
Mac Enthusiast
Join Date: Mar 2001
Location: Brooklyn, yo...
Status: Offline
Reply With Quote
Nov 16, 2004, 04:18 PM
 
Here's an app I use frequently. It's an OS9 app but works just fine in classic mode.
It will separate a folder into subfolders based on the size you determine and gives a few options on how you may want to split the folders/subfolders. It also will regroup the folders after you partition them, if you need to restore the exact file structure.

Very simple and elegant, only $19:


Folder Partitioner
     
cla
Mac Enthusiast
Join Date: Mar 2000
Status: Offline
Reply With Quote
Nov 16, 2004, 07:40 PM
 
Code:
property batch_name : "Batch " property file_size_limit : 620 * 1024 * 1024 -- 620MB => 620 x 1024 * 1024 bytes property batch_count : 1
"Usual Suspects", simply change the first line

Code:
property batch_name : "Batch "
into
Code:
property batch_name : "pr0n "
and burn away! Your 3200 jpeg's should be automatically distributed into folders having the right size and name.





(sry, really tried to resist ... =D
)
     
Grizzled Veteran
Join Date: Sep 2000
Location: New Jersey, USA
Status: Offline
Reply With Quote
Nov 17, 2004, 09:32 AM
 
If you have a .Mac aocount, you could always just use Backup. It'll burn your session across multiple CD/DVDs. It won't be accessible as individual files on each CD but for backup, that you can restore back, it's easy.

Retrieving files is just a matter of hitting rrestore. Then, after Backup reads the master disc, it'll show you the entire contents of your backup, so you could pick and choose what you need to retrieve.
Dual 2.0 G5/2.5GB/ATI 9800 Pro | MacBook Pro 2.16 Gore Duo/2GB/ATI X1600
     
Grizzled Veteran
Join Date: May 1999
Location: Seattle
Status: Offline
Reply With Quote
Nov 18, 2004, 02:52 PM
 
Originally posted by mrchin:
If you have a .Mac aocount, you could always just use Backup. It'll burn your session across multiple CD/DVDs. It won't be accessible as individual files on each CD but for backup, that you can restore back, it's easy.

Retrieving files is just a matter of hitting rrestore. Then, after Backup reads the master disc, it'll show you the entire contents of your backup, so you could pick and choose what you need to retrieve.
that is how I do it.

works well.
1.25GHz PowerBook


i vostri seni sono spettacolari
     
Forum Regular
Join Date: May 2004
Location: Northamptonshire UK
Status: Offline
Reply With Quote
Nov 20, 2004, 10:53 AM
 
Stuffit Deluxe allows you to archive and split the file over multiple discs. Just need to spend $79.99 for the privilage
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:55 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2