While gpg would be in gnupg.tcz, 'tar -p' is an option particular to GNU tar which might create compatibility issues with other versions (incl. busybox in TC).
Wondering though as there is no '-f' if the '-p' perhaps was just a typo.
Sorry, not a typo, just me being out of touch
When I go to make a script or do any programming I write broken code, then puzzle-out errors with the particular OS I'm writing for. Small OSs like TC or Puppy are especially rewarding to work with. I enjoy getting it to work...
This is something I learned for Debian or BSD, likely, and wrongly applied the switches here.
I keep security mainly by keeping physical possesssion of my boxes. Don't share what you can't afford to give away
Good that tinypoodle pointed that out!
Thanks, I didn't mean to give bad advice, just point to a direction... "it's over there".
Always a beginner,
moB
I quickly followed suit, and descending into the bar-room accosted the
grinning landlord very pleasantly. I cherished no malice towards him
--Mellville, Moby Dick
Edit:
done the laundy, now had time to test tar command.
I said "tar create file name.tar from dir_name":
tar -c -f tarball_name.tar private_dir
Then deleted the pricvate test directory. I did not use wipe or any other secure file shredder, but you might consider this worthwhile for maximizing security on a portable system.
To restore the private data say "tar extract from file tarball.name" :
tar -x -f tarball_name.tar
The private test files were properly restored with correct file-structure.
Do not have gnupg installed. But I found a few interesting pages:
A script for Solaris9:
http://www.unix.com/shell-programming-scripting/24487-gnupg-gpg-command.htmlInstructions even I can understand ;-)
http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.htmlLooks like what you need.
All the best to you!