Register a domain and help support LQ
Go Back > Blogs > ak kumar
User Name


Uncategorized Entries with no category

linux tips

Posted 07-20-2010 at 12:52 PM by ak kumar

TIP 1:

cpio works like tar, only better.

STEP 1 (Create two directories with data ../dir1 an ../dir2)

mkdir -p ../dir1
mkdir -p ../dir2
cp /etc/*.conf ../dir1/.
cp /etc/*.cnf ../dir2/.

Which will backup all your cnf and conf files.

STEP 2 (Piping the files to tar)

cpio works like tar but can take input
LQ Newbie
Posted in Uncategorized
Views 515 Comments 1 ak kumar is offline


All times are GMT -5. The time now is 05:53 PM.

Main Menu

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