Thread: general question concerning copying files

  1. #1
    Registered User
    Join Date
    Sep 2013
    Posts
    5

    general question concerning copying files

    Hello everyone!
    I am very new to the whole computer science field in general so please go easy on me.

    So I was given an assignment that is given as project2.tar which inside has a Makefile, a .c file, a .o file, test cases, a bunch of stuff. I currently use a mac. When I open up a one of these files, it has just a bunch of symbols and no actual code which I'm pretty sure it's supposed to have some code. Therefore I could not manually just copy these files to my virtual machine through the shell terminal.
    I have previously used windows computers so I tried it on one of my old computers where I could use WinSCP but it would open it up through winrar which just seemed to messed things up. I then tried it on a different computer to open it up without winrar, succeeded in taking the tar file over to my virtual machine using WinSCP but I couldn't access any of the files inside the tar file.
    So essentially I'm very confused and have tried a lot of things haha!
    If you guys could help me outline these basics, it would be much appreciated!
    Thank you in advance!

  2. #2
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,794
    I do not know about MAc - but on Windows you can use 7-Zip which supports tar, gzip, bzip2 etc
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    David J. Wheeler

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading Hex Code from General Files HELP
    By UXroot in forum C Programming
    Replies: 13
    Last Post: 06-07-2013, 04:54 AM
  2. binary files: copying jpeg or video files
    By cfanatic in forum C Programming
    Replies: 5
    Last Post: 07-19-2012, 08:17 AM
  3. Replies: 6
    Last Post: 06-07-2010, 09:04 AM
  4. header files in general
    By Trauts in forum C++ Programming
    Replies: 6
    Last Post: 05-07-2003, 04:02 PM
  5. Moving files/deleting files/ copying, etc
    By Nakeerb in forum C++ Programming
    Replies: 1
    Last Post: 10-11-2002, 05:45 PM