what command should I issue?

Michael bmike1 at gmail.com
Sun Aug 4 10:24:35 MST 2024


I'm running around in circles with chat gpt. I want to backup /home/bmike1
user created data and all other pertinent files.
This is what it tells me:

#!/bin/bash
# Define source and destination
SOURCE="/home/bmike1/"
DESTINATION="/media/rsync/backup/" # Define rsync options
OPTIONS="-av --delete --exclude='*.lock' --exclude='google-chrome/'
--exclude='firefox/' --exclude='thunderbird/'"
# Run rsync command
rsync $OPTIONS $SOURCE $DESTINATION

WIll this do it for me?
As for the pertinent files I did this before and there was a few other
directories involved. do I need to worry about it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20240804/561a7400/attachment.htm>


More information about the PLUG-discuss mailing list