11-19-2015
ok so: 20 20 * * * sudo tar -cvpzf backup.tar.gz /home/user1
and backup will be in /root right ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there a way I can check if a file is comppressed or not? (Be it tar/gzip or compress). trying to write a generic housekeeping scrit that will delete files over 6 months old and compress any uncompressed files if less than 6 months old. But not sure if there is a clever way to check except for... (4 Replies)
Discussion started by: badg3r
4 Replies
2. UNIX for Dummies Questions & Answers
Are any of you guys aware of any problems when trying to sort compressed fields? Why I uncompress the file I am trying to sort, I have no problem sorting but when I try to sort compressed fields it doesnt work properly. I need to be able to sort these compressed fields. Any explanation why? (1 Reply)
Discussion started by: ndoggy020
1 Replies
3. UNIX for Dummies Questions & Answers
I compressed a file by using gzip command
gzip <<xx>>
filename changed to xx.gz
How to view this xx.gz file. Any idea.
Thanks in advance. (7 Replies)
Discussion started by: venkatesht
7 Replies
4. Shell Programming and Scripting
Hi,
I have a file that has got compressed data. I would want to uncompress the packed decimal data(not the file). is there a way to do that in ksh? (6 Replies)
Discussion started by: ahmedwaseem2000
6 Replies
5. Shell Programming and Scripting
Hi
i have a filename.tar.bz2 and i have to parse it with a tool that doesn't support compressed files.
I have to do it for many big files, so i can't decompress and then process. I'd like to do something like:
tar -jxvf namefile.tar.bz2 | parsing_tool
i mean analyze it directly,... (4 Replies)
Discussion started by: Dedalus
4 Replies
6. Shell Programming and Scripting
Hello all
I want to help
I have some compressed files on the system
When you want to unzip these files
Delete any file which symlink
"ln -s"
{{
I need script is necessary
Script contain:
Any operation to decompress the system is doing to delete any symlink... (0 Replies)
Discussion started by: x-zer0
0 Replies
7. Shell Programming and Scripting
i have a file 4d7a94d0.bbb.1292
when i do
file 4d7a94d0.bbb.1292
the ouput is below
4d7a94d0.bbb.1292: gzip compressed data - deflate method
and i run this command
gunzip -c 4d7a94d0.bbb.1292 | awk '{gsub("\"","")}/I_ACCOUNT_ID/{print $2}' RS=":|;" FS=","
i get... (3 Replies)
Discussion started by: blackzinga80
3 Replies
8. Shell Programming and Scripting
I need UNIX scripts for polling, Uncompressing files and moving files between directory. Also trying to save file paths and any other variables in an independent file (.env) and use these at runtime by executing this file in the main script. (3 Replies)
Discussion started by: new2script
3 Replies
9. Shell Programming and Scripting
How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
Is there is any way to find the size of compressed file without doing decompression. The size should give the original uncompressed data size
Thanks
Arun (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
LEARN ABOUT DEBIAN
barrybackup
BARRYBACKUP(1) General Commands Manual BARRYBACKUP(1)
NAME
barrybackup - Barry Project's backup program for the BlackBerry handheld
SYNOPSIS
barrybackup [-?][-d]
DESCRIPTION
barrybackup is a GUI application for backing up and restoring Blackberry handheld databases.
The application allows for filtering of databases for both backup and restore, so not all databases need to be backed up at once, nor all
restored.
Backups and configuration files are stored by default in the user's home directory, under ~/.barry/backup/PIN. This destination can be
changed in the config dialogs, per device.
The backup files are compressed tarballs containing specially named files for each record of the databases.
OPTIONS
-d --debug-output Enables low level protocol debug output written to stdout/stderr.
--display=DISPLAY
Specify which X display to use.
-? --help Show summary of options.
-h, --help
Show summary of options.
TAR FORMAT
Backups are stored in tar format, compressed with gzip. Backup files are named with the following pattern:
PIN-YYYYMMDD-HHMMSS[-tag_name].tar.gz
The tag name is optional and is used to name a particular backup.
Each record is appended to the tar file using the following pattern for the filename:
DBname/RecordID RecordTypeID
That is, the database name is used as the directory name, and the filename contains the record ID and record type ID separated by a space.
Database names can contain spaces.
Record IDs are generally unique, but not all Blackberry devices mandate this, so it is possible, but rare, to have two records in the tar
file with the same filename. This is ok. The only problem you'd see is if you expanded such a tar file to a filesystem. The restore
process just reads in the filename sequentially and writes them to the device, so duplicate record IDs are not a problem.
AUTHOR
barrybackup is part of the Barry project. This manual page was written by Chris Frey.
SEE ALSO
http://www.netdirect.ca/software/packages/barry
July 28, 2009 BARRYBACKUP(1)