1. You will need two files. One, of course, being the .jpg image and the other being an .rar or .zip file.
2. Place both files on your Desktop (or just in the same directory).
We will call our files "image.jpg" and "file.rar". So, place "image.jpg" and "file.rar" on your Desktop
3. Open Terminal and type the following:
cd Desktop
4. Then, hit Return (Enter) and type this:
cat image.jpg file.rar > newimage.jpg
This will make a "concatenated" file composing of "image.jpg" and "file.rar" named "newimage.jpg" on your Desktop. The new file will look like the orginal image file but if you change it's extension from ".jpg" to ".rar", you can extract the contents of the orginal .rar file.
Do you have questions, comments, or suggestions? Feel free to post a comment!
Source
0 comments:
Post a Comment