tar problem

hi ,

On AIX 4.3.3
I typed the following command
tar -cvf <filename> ( actually I forgot to type the device name)
the output was change in the file size to 10240 bytes

I tried tar -xvf to extract the same but file size is same.

The file was "txt" file and was readable before the command execution but now I get some garbled characters on opening the file.

Can any one tell me how to retrive back the file ???????

..........
Amit

Whatever follows the -f is the output file. It gets written to. This overlays the previous contents of the file. You will need to restore from backup. Sorry for the bad news.

Perderabo,

thanx for reply

I will restore the file from old backup

Amit