Re: what command should I issue?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael via PLUG-discuss
Date:  
CC: Michael, Main PLUG discussion list
Subject: Re: what command should I issue?
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?
---------------------------------------------------
PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss