|how to compress unknown filename
|Page 1 of 1|
|Author:||ganitolngyundre [ Thu Jul 12, 2012 1:44 am ]|
|Post subject:||how to compress unknown filename|
Hi, I've made a simple backup script. can anyone complete what I'm doing? I'm lost at the most important part of it.
here's the script
# how to compress the showed file on ls -lh?
tar -zcf unknownfilename.tar.gz *missing* #<--i don't know how?
I hope someone will get my point.
|Author:||Watael [ Sat Jul 14, 2012 3:17 pm ]|
|Post subject:||Re: how to compress unknown filename|
observe what does:
echo *and you'll have your answer.
see man bash /^ *Pathname Expansion
|Page 1 of 1||All times are UTC - 6 hours|
|© 2000, 2002, 2005, 2007 phpBB Group • http://www.phpbb.com|