news
About Elegant Chaos
info
About me and my friends
people
Software from Elegant Chaos
software
Other stuff...
stuff

BL_PathForBackup

Revision
Revised on

Description


Code

function BL_PathForBackup
  -- returns path of backup folder for next backup
  
  global BL_BackupPaths
  
  repeat with n = 1 to the number of items in BL_BackupPaths
    get item n of BL_BackupPaths
    
    if BL_VolumeOnLine(it) then
      delete item n of BL_BackupPaths
      put it & comma after BL_BackupPaths
      return it
    end if
  end repeat
  
end BL_PathForBackup