Re: Auto save for .txt files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 22, 2010 at 1:56 AM, Bill Davidsen <davidsen@xxxxxxx> wrote:

> Just keep in mind that a file, if open, may be in some state only a mother could
> love. You really have to be selective about saving open files, or eventually you
> will save a file which is not in a useful state.


Nothing relevant to the present scenario!


> That said, you can find files modified since the last save and save them with
> whatever means you wish, such as rsync.


Would search about it ('rsync').


> This is an example, remember I just made it up:
>  touch next-save
>  find . -name *.txt -mnewer last-save -mmin +10 >save-list
>  rsync -a --files-from=save-list DESTINATION &&
>  mv next-save last-save


I try this example.


> Save files modified since the previous save, but untouched for ten minutes,
> since that improves your chance that the file is in a useful state, retry until
> the backup succeeds.

> Run that as a script every hour or so.

> NOTE: this is one of dozens of solutions, unless the data in the files is vastly
> valuable I'd just back them all up once a day. That's me, the cost of backup
> should not be greater than the cost of recreation.


Yes, thanks for this information. I would try these.
-- 

Regards,
Parshwa Murdia
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux