Sponsored Content
Full Discussion: Backup user folder
Operating Systems OS X (Apple) Backup user folder Post 303010240 by peli on Thursday 28th of December 2017 06:32:01 PM
Old 12-28-2017
I’m sorry for the lack of… and wrong information… and my English language. This has worked in the past is what I mean. I also should mention this is on Mac.

1. I think it is Perl. On top of script is #!/usr/bin/perl.
2. After updating the app and corresponding files in Library/Application Support/”Program Files Folder” the program, when it starts, will move the newer files to Users/Library/Application Support/”Program Files Folder”. My program is Swedish localized and for some reason, the program doesn’t update files in user’s directory. Probably a Unicode problem. The Installer script guy working for the American Company, which makes the program, helped me with this workaround script and the function is to back up the older version of the updater’s newer files in a backup folder placed on the desktop and then delete them in the User’s dir. The program then install’s new files. There are more features of the script including one that you helped me with before, 02-21-2016 (Installer issue | Unix Linux Forums | OS X (Apple)) Here is a list of what the script does:
# Move user's files so app will update those files
# Create Desktop shortcut for Swedish Menu Commands Document
# Create Desktop shortcut for Swedish Meta Tools Document
# Create a Audio Units Support folder
# Check to see if the installer's rewire bundle needs to be installed.
# remove the temp support folder in either case.
# Create a "Favorite Plug-ins" folder
# Finale activation file
# Reset the QuickLook Server and clients' generator cache
# Register our Spotlight component
# Write a receipt for this component (for updaters)

3. It doesn’t backup and deletes User files in order for the app to install the new ones.
4. No messages.
5. Everything else is working.

Thank's
 

10 More Discussions You Might Find Interesting

1. AIX

How to disable cd to other folder for a user

How to disable user for cd to some another folders other than his folders. AIX 5L 5.2 Thanks Dilip. (1 Reply)
Discussion started by: Dilippatel
1 Replies

2. UNIX for Dummies Questions & Answers

Backup user from one server and restore to another

Hi. I have a situation here where I need to backup a users' home directory and restore onto another server. The issue here is that both servers have different operating systems and I am looking for advices on how to proceed. The source server operating system is Tru64 v5.1, and here's the output... (1 Reply)
Discussion started by: fidodido
1 Replies

3. UNIX for Dummies Questions & Answers

User should be restricted moving a folder

Hi All , Some of the users should be restricted using the MV commands on some of the standard folders. We had an issue the other day like from the standard folder structure which was set up one of the user has moved a folder to a different location and the jobs failed as the folder was not... (6 Replies)
Discussion started by: perlamohan
6 Replies

4. AIX

User script folder standard location ?

I am starting to accumulate a few scripts that I working on to replace operational scripts and to have a few for my personal usage. I am not an admin, just an operator. They are currently located inside the /tmp folder. I know they should not be there but since we have no system admin (someone... (4 Replies)
Discussion started by: Browser_ice
4 Replies

5. UNIX for Dummies Questions & Answers

How to restrict user to one folder alone when they log in

Can some one help me with this issue . I require to restrict a particular user to a particular folder alone when they log in. I dont want this particular user to come out of this folder. Kindly help (7 Replies)
Discussion started by: kirbhas72
7 Replies

6. Solaris

Unable to create folder as a user

Hi All, I am trying to create a folder in /export/home/user1 directory as a user1 but I am getting the error message as -bash-3.00$ mkdir abc mkdir: Failed to make directory "abc"; Permission denied Also I tried creating the folder but it fails too -bash-3.00$ touch abc touch: cannot... (2 Replies)
Discussion started by: Manjunath K V
2 Replies

7. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

8. HP-UX

Temp folder Getting full while taking backup.

Hi Experts, When i taking backup of my servers in Tape Library simultaneously the Temp folder is getting full...... these file like OB2DBG*.txt (2 Replies)
Discussion started by: purushottamaher
2 Replies

9. Shell Programming and Scripting

Create a folder under different user directory

Hello All, I have to write a shell script and use it in informatica. The script has to perform below actions: The script gets executed from edw user. Through the script, a DT folder has to be created under edw_sca user. Is this scenario possible through a SHELL script or not. ... (2 Replies)
Discussion started by: bghosh
2 Replies

10. Shell Programming and Scripting

Help Needed for creating the folder by checking today's date and, take backup using rsync command

How to create a shell script to create a folder by using the today's date to take backup using rsync command on every evening around 7 pm. Kindly help. Thanks. To be more precise, I want to create a script which matches the today's date with server's date format, if matches then creates the... (2 Replies)
Discussion started by: bakula10
2 Replies
BACKUP_DELVOLSET(8)					       AFS Command Reference					       BACKUP_DELVOLSET(8)

NAME
backup_delvolset - Deletes one or more volume sets from the Backup Database SYNOPSIS
backup delvolset -name <volume set name>+ [-localauth] [-cell <cell name>] [-help] backup delvols -n <volume set name>+ [-l] [-c <cell name>] [-h] DESCRIPTION
The backup delvolset command deletes each volume set named by the -name argument, and the volume entries each contains, from the Backup Database. The backup listvolsets command lists the volume sets (and their volume entries) currently defined in the Backup Database. CAUTIONS
Deleting a temporary volume set is possible only within the interactive session in which it was created. Exiting the interactive session also destroys the temporary volume set automatically. OPTIONS
-name <volume set name>+ Names each volume set to delete. -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more details, see backup(8). -cell <cell name> Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8). -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command deletes the volume set called user and all volume entries in it: % backup delvolset user PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is included. SEE ALSO
backup(8), backup_addvolentry(8), backup_addvolset(8), backup_delvolentry(8), backup_listvolsets(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 BACKUP_DELVOLSET(8)
All times are GMT -4. The time now is 02:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy