The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.00
seconds.
Search:
Posts Made By:
wempy
Forum:
Programming
11-10-2008
5
Need help with running the tar command using system() call in C
10,237
Posted By
wempy
chroot is not what you want, it changes the /...
chroot is not what you want, it changes the / path to be the named dir, so any subsequent calls will have that as their / path - not a good idea
chdir() is what you need
man 2 chdir will give you...
Forum:
Programming
11-10-2008
5
Need help with running the tar command using system() call in C
10,237
Posted By
wempy
tar always preserves paths, so the only way to do...
tar always preserves paths, so the only way to do what you want is to change to the directory where the files are, and add them from there using just thier name not path/name
system("tar -cf...
Showing results 1 to 2 of 2
Member Badges and Information Modal
×