Digital Art Zone

 
     
mac users and the new daz zips - it is dead easy and quick
Posted: 15 August 2012 06:25 PM   [ Ignore ]
Active Member
Avatar
RankRank
Total Posts:  512
Joined  2003-10-09

Use this utility to merge your runtimes wherever you want them.
You do NOT have to place your subfolders manually one by one despite what the pdf that daz gave us for installing their new zips says.
well you probably all know this already and have found a way, but in case you are new this is a really good way to merge your stuff eg two runtimes together:-
http://www.ilike.co.nz/SoftwareDev/dittoGUI.html
I’m pretty sure the latest OS for mac has an inbuilt merging method anyway, but I am still on snow leopard OS X.

DAZ - i think this should be added to your pdf please.

Profile
 
 
Posted: 15 August 2012 08:37 PM   [ Ignore ]   [ # 1 ]
Active Member
RankRank
Total Posts:  550
Joined  2011-04-12

I use a fairly straightforward Applescript compiled into an application.  Just drag and drop a folder, wait a few moments or minutes (depending on number and size of files) and it is copied into My Library.

on open droppedItems
 
 display dialog 
"How to handle existing files?" buttons {"Overwrite""Cancel""Skip"default button 3
 
if (button returned of resultis "Overwrite" then
  set overwriteOption to 
"f"
 
else
  
set overwriteOption to "n"
 
end if
 
 
repeat with thisItem in droppedItems
  
if (folder of (info for thisItem without size)) is true then
   get quoted form of POSIX path of thisItem
   
   
try
    do 
shell script "cd " result "; /bin/cp -RP" overwriteOption " ./* ~/Documents/DAZ\\ 3D/Studio/My\\ Library/"
   
on error errorMsg number errorNum
    display dialog 
"Error (" errorNum "):" & return & return & errorMsg buttons "OK" default button 1 with icon caution
   end 
try
  
end if
 
end repeat
 
 display dialog 
"Script finished." buttons "OK" default button 1 with icon note
end open 

(Derived in part from a sample script I found online and lost the link to long ago.)

This assumes that your My Library folder is in the default location.  If it isn’t, adjust the path in the script accordingly.

A “exited with non-zero status” error message may occur sometimes.  This is a non-critical error, probably indicating a duplicate file somewhere.  I have never had a product fail to work after this error.

After use, the original folder may be safely deleted.

 Signature 

Not interested in the giant leap backwards that is “Genesis 2”.

Profile
 
 
Posted: 15 August 2012 08:56 PM   [ Ignore ]   [ # 2 ]
Active Member
Avatar
RankRank
Total Posts:  512
Joined  2003-10-09

and if there are already contents in my library, does it merge the two folders?
Because merging not copying is the thing I’m trying to tell everyone about.
Love esther

Profile
 
 
Posted: 15 August 2012 09:01 PM   [ Ignore ]   [ # 3 ]
Active Member
RankRank
Total Posts:  550
Joined  2011-04-12

Yes, it merges.  Drag and drop, and everything falls right into place in your existing folder without harming anything that’s already there.

 Signature 

Not interested in the giant leap backwards that is “Genesis 2”.

Profile
 
 
Posted: 15 August 2012 09:13 PM   [ Ignore ]   [ # 4 ]
Active Member
Avatar
RankRank
Total Posts:  512
Joined  2003-10-09

great.
well there is no reason for anyone to manually move all the subfolders hey.

Profile
 
 
Posted: 16 August 2012 06:06 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  15167
Joined  2003-10-09

Don’t forget that this is only the first half of the system - there will also be an install manager that will take care of the merging for you, if you wish to use it.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 16 August 2012 06:11 AM   [ Ignore ]   [ # 6 ]
Active Member
Avatar
RankRank
Total Posts:  512
Joined  2003-10-09

I must have stopped reading the pdf too early. I stopped when it said to manually put all the subfolders into the correct runtime folder structure when you have decided where you want the files installed.
Love esther

Profile
 
 
Posted: 16 August 2012 06:30 AM   [ Ignore ]   [ # 7 ]
Member
Avatar
Rank
Total Posts:  42
Joined  2010-09-24
Murgatroyd - 15 August 2012 08:37 PM

I use a fairly straightforward Applescript compiled into an application.  Just drag and drop a folder, wait a few moments or minutes (depending on number and size of files) and it is copied into My Library.

on open droppedItems
 
 display dialog 
"How to handle existing files?" buttons {"Overwrite""Cancel""Skip"default button 3
 
if (button returned of resultis "Overwrite" then
  set overwriteOption to 
"f"
 
else
  
set overwriteOption to "n"
 
end if
 
 
repeat with thisItem in droppedItems
  
if (folder of (info for thisItem without size)) is true then
   get quoted form of POSIX path of thisItem
   
   
try
    do 
shell script "cd " result "; /bin/cp -RP" overwriteOption " ./* ~/Documents/DAZ\\ 3D/Studio/My\\ Library/"
   
on error errorMsg number errorNum
    display dialog 
"Error (" errorNum "):" & return & return & errorMsg buttons "OK" default button 1 with icon caution
   end 
try
  
end if
 
end repeat
 
 display dialog 
"Script finished." buttons "OK" default button 1 with icon note
end open 

(Derived in part from a sample script I found online and lost the link to long ago.)

This assumes that your My Library folder is in the default location.  If it isn’t, adjust the path in the script accordingly.

A “exited with non-zero status” error message may occur sometimes.  This is a non-critical error, probably indicating a duplicate file somewhere.  I have never had a product fail to work after this error.

After use, the original folder may be safely deleted.

That’s awesome - thanks for posting!

 Signature 

My Blog
My World of Trexlin website

Profile
 
 
Posted: 16 August 2012 08:22 AM   [ Ignore ]   [ # 8 ]
Active Member
RankRank
Total Posts:  550
Joined  2011-04-12
Richard Haseltine - 16 August 2012 06:06 AM

Don’t forget that this is only the first half of the system - there will also be an install manager that will take care of the merging for you, if you wish to use it.

That doesn’t help at all until the install manager is actually released.  It’s been coming “soon” for how many months now?

 Signature 

Not interested in the giant leap backwards that is “Genesis 2”.

Profile
 
 
Posted: 16 August 2012 11:02 AM   [ Ignore ]   [ # 9 ]
Power Member
Avatar
RankRankRank
Total Posts:  1697
Joined  2009-08-08

And if you split your content so you have over a dozen *different* libraries, and want to install things specifically into only one of them?

Profile
 
 
Posted: 16 August 2012 12:32 PM   [ Ignore ]   [ # 10 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  15167
Joined  2003-10-09

As far as I know, from what has been said, the install manager will have options to pick the destination folder as the current installers do.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile