LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2024, 12:47 AM   #1
kevinbenko
Member
 
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 630

Rep: Reputation: 174Reputation: 174
Question Question Concerning A Parameter In rsync


{note: I had a stroke in 2011, and am brain-damaged}

Here is the rsync parameter that is giving me problems:

BEGIN
...
rsync --archive --recursive --prune-empty-dirs --exclude=/home/kevin/.steam --delete-excluded --verbose --delete-after --stats /home/kevin /media/kevin/BU-1/
...

END

But the excluded directory home/kevin/.steam tree is still being copied.

Have I missed something?

Hopefully, this is an easy answer to answer.

Thank you for reading this question, and have yourself an awesome day!

Last edited by kevinbenko; 03-12-2024 at 12:57 AM.
 
Old 03-12-2024, 05:03 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
exclude uses a relative path based on the source directory.
 
Old 03-12-2024, 09:50 AM   #3
kevinbenko
Member
 
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 630

Original Poster
Rep: Reputation: 174Reputation: 174
OK, Thank you.
{PS: I don't to backups every day, generally every 2-3 days}
So it will be Wednesday or Thursday when I check it out.

Thank you, sir. You area gentleman and a scholar.

Have yourself a wonderful day!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Concerning An rsync Backup kevinbenko Linux - Newbie 3 05-29-2023 03:53 AM
[SOLVED] Question Concerning an error message when making an rsync update kevinbenko Linux - Newbie 13 12-22-2022 05:40 PM
shell getopts: opt w/ optional parameter is taking next opt as its parameter! GrapefruiTgirl Programming 22 10-27-2010 06:00 AM
linux bash - how to use a dynamic parameter in shell parameter expansion expression nickleus Linux - General 2 08-21-2006 04:54 AM
Question Concerning ISO's and one quick question. evrae Linux - Software 2 06-21-2004 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration