Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Using tar to backup all small files
Termina
post Dec 27 2005, 01:05 PM
Post #1


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



I'd like to back up my /home directory on a weekly basis. The problem is, /home is 2.9gb

Does anyone know how I can tell tar to only back up files under, say, 5mb?

Thanks!


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
Vlad
post Dec 28 2005, 01:32 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 26-December 05
Member No.: 5,901



I think this will work if not its close im on a friends computer right now so i cant test it
I dont know the comand line options to add files to an archive so put them in place of "thetarcommandlinehere"
I'm sorry if this doesent work i'll post again if it doesent and tell you what does

find $HOME -size -5m -exec tar thetarcommandlinehere {} ;
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 11:12 AM