| Article: |
Automated Backups with Existing Tools | |
| Subject: | srcfolder | |
| Date: | 2004-02-11 11:41:45 | |
| From: | chneeb | |
If you use the -srcfolder or -srcdir option of hdiutil, you don't need to calculate the size, mount the image, copy the $SOURCE and umount the image. hdiutil can does everything for you. I only tried this with directories not with whole partitions.
|
||
Showing messages 1 through 3 of 3.
-
srcfolder
2004-02-12 09:20:44 franiglesias [Reply | View]
Sorry. I've reading man hdiutil (Mac OS X 10.2) but didn't find anything about -scrfolder. Is it a Panther-only feature? -
srcfolder
2004-02-12 13:03:17 peterhickman [Reply | View]
The-srcfolderflag is available under thecreateoption.
"-srcfolder directory specifies the image size based on the contents of directory. -srcfolder also specifies that the contents of directory should populate the resulting image. -srcfolder copies file by file, creating an optimized filesystem on the destination image (which then could be restored by asr(8)). -srcdir is a synonym for -srcfolder."
This is under panther, not sure about jaguar.




