Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am a newbie to both Linux and these forums. I wasn't sure if this question should go in the Newbie section or in the General section so if this isn't the appropriate section hopefully a mod can move it to the right one.
The short version of my question: Is there a way to flag files to be backed up using tar so that if I execute tar in a directory where some of the files are flagged and others aren't, it will only include the flagged files?
Full background: I am making some modifications to a Linux embedded device. Most of the changes/additions will be placed on an external drive attached to the device so I can back that up easily. However, some of the changes add or modify files on the internal storage of the device. I've read that firmware updates are sometimes remotely pushed by the device manufacturer and when that happens it can wipeout any changes I've made to the internal storage.
So I'd like to find an easy way to backup only the files that are added or modified. My idea is that I could create a tarball that when extracted from the root directory would add all these new files again in one easy step.
My problem is that the original steps to modify the device add/change files in many different directories. Is there some easy way I can make or flag each of these files so that only the modified/added files would be included when I create the tarball and the stock/manufacturer's files would be excluded as these might be changed when the firmware is updated? Hopefully something easier than having to individually list each files on the command line. (Or even if I could create the list of files by using the ls command and piping the output to a file so I don't have to manually type the full path & name for each file.)