Results 1 to 3 of 3
Hi, I have some school work that involves creating a script that creates a backup of my /home folder, everything goes well but the problem is with the filename.
I ...
- 04-21-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 2
Tar filename, resolve failed
Hi, I have some school work that involves creating a script that creates a backup of my /home folder, everything goes well but the problem is with the filename.
I am supposed to create a .tgz with the filename : hostname-day-date-HH:MM:ss.tgz
The .tgz gets created with the correct filename but when I try to unpack it the filename can't be resolved, it's the : that mess things up. Can anyone here please help me how I can fix this problem without changing : to -
br matsii
- 04-21-2011 #2
We don't usually help with homework, but as you have done most of this yourself, I'll give you a hint. Troublesome characters in filenames need to be made literal by using the backslash or quotes. The man or info page for bash will show you how to do this.
"I'm just a little old lady; don't try to dazzle me with jargon!"
- 04-27-2011 #3Just Joined!
- Join Date
- Apr 2011
- Posts
- 2


Reply With Quote
