A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

January 2, 2010

back up scritp

Forums: 

i want to be able to split the file into 659mb size so far i have after i have the script i want to be able to run it with crontab once a month or so

#!/usr/bin/bash
tar -cjvf /home/lance/backup/archive`date +%m%d%Y`.tar.bz2 /home/lance/bashscripts /home/lance/.avast /home/lance/.config/deluge /home/lance/.gnome2/nautilus-scripts

the archive will be stored in my backup folder in my home dir with the current date as part of the file name. the listing that follow after .bz2 are the folders or files i want backup. i found http://maketecheasier.com/how-to-compress-and-split-files-in-ubuntu/2008... it give dirttion on how to do split a single video file

Click Here!