RavenLX wrote:Thanks but none of these will do what I need...
BTW, I never used any --progress switch in my code?
Better re-read that again. I included a snippet "....yad --progress ..." in the example
I cited as my source for the snippets I gave to you to try out.
I didn't tell you to remove any echoes, nor did I say they were there to prevent accidental data loss.
What you "need" is to learn how to use tar correctly and "How do I test my tar files?"
Humor me, try
Code: Select all
cat myfiles.txt` ; do tar -pPrf myarchive.tar $i ; done
wrt:
RavenLX wrote:myarchive.tar is 0 bytes
Test it with:
Does it look about correct judging by the output? based on the input myfiles.txt file?
Is the archive.tar 0 bytes? Yes, start over.
Double check your work.
Don't stick in your script and blindly expect it to work. Use it in terminal>
It's a piece of the puzzle.
Sentences like "Doesn't work" or "I can't get it to work" don't mean much.
http://www.tldp.org/LDP/abs/html/internal.html#READPIPEREF
I'm done. I fear I have spent more time on this than you have.
Good luck.