Commit Graph

42 Commits

Author SHA1 Message Date
d68f98ddf6 README.md aktualisiert 2025-04-26 21:14:23 +02:00
blindi0815
9cabdcbe94 Merge pull request #6 from blindi0815/v.1.0.1.-FixRelease
this made help text specific -> bulk tarstats is possible
2022-02-12 14:23:07 +01:00
Marcel Nowicki
3446ca5866 this made help text specific -> bulk tarstats is possible v1.0.1.-FixRelease 2022-02-12 14:18:50 +01:00
blindi0815
626494720d Merge pull request #3 from blindi0815/v1.0-Release
V1.0 release
2022-02-12 12:23:30 +01:00
blindi0815
4536939938 Update README.md v1.0-Release 2022-02-12 12:22:14 +01:00
Marcel Nowicki
3667502404 Release Version
1.0
2022-02-12 12:20:28 +01:00
blindi0815
0f38d9dd2b Update README.md 2022-02-12 12:13:42 +01:00
blindi0815
499ad38401 Update README.md 2022-02-12 12:09:59 +01:00
Marcel Nowicki
75061d677d this cleaned up some stuff and added version information.
v0.9-beta.3
2022-02-12 12:04:55 +01:00
Marcel Nowicki
119fdff520 this cleaned up some stuff and added version information. 2022-02-12 12:02:40 +01:00
Marcel Nowicki
6dd7b78c88 this add install target to CMakeLists.txt. tarstats_++ is feature complete now. v0.9-beta.1 2022-02-12 10:05:56 +01:00
Marcel Nowicki
98e8359c88 this added json output to stdout, to file and global json stats to file. tarstats is feature complete. 2022-02-12 02:59:31 +01:00
Marcel Nowicki
b3888cdab7 this added output of global stats to stdout 2022-02-12 01:40:57 +01:00
Marcel Nowicki
0b0759271a this successfully implememted gz parsing. 2022-02-12 00:29:59 +01:00
Marcel Nowicki
692ab2ff85 this added OS implementation of zlib. this also prototyped extracting the first 512 bytes of a tar.gz file and displaying the content of the first 100 bytes (name of the first file in the tarball) 2022-02-11 14:53:51 +01:00
Marcel Nowicki
a80f78c36d this added some small refinements as well as first forays in working with gz files. Added zlib.h. Checked if valid gz file via mgic number. 2022-02-11 03:28:13 +01:00
Marcel Nowicki
0114829d5b this added output to text file and proper parsing of command line arguments. this also cleaned up some more stuff. 2022-02-10 23:08:59 +01:00
Marcel Nowicki
bf6f224a23 this put console output into its own function 2022-02-10 21:18:44 +01:00
Marcel Nowicki
3b2e3aa2ff this cleaned up functions and global constants and hid them away in to their header and source files 2022-02-10 20:45:09 +01:00
Marcel Nowicki
2af7cf5adf this added a check if the given file is a valid tar by checking the magic field for ustar
this also cleaned up some stringliterals.
2022-02-10 19:24:38 +01:00
Marcel Nowicki
4b69dee55d this added proper return statements when a file could not be read. 2022-02-09 22:22:03 +01:00
Marcel Nowicki
f1f60f3001 this added a first rough version of a stat printout 2022-02-09 22:19:08 +01:00
Marcel Nowicki
e3d451edcc this added a help and usage message 2022-02-09 21:59:52 +01:00
Marcel Nowicki
3c3306f395 Tarstats-pp #1 Prototyping: Parse all items of a tarball 2022-02-09 21:15:15 +01:00
Marcel Nowicki
53eac32e70 Tarstats-pp-1 Prototyping: Parse all items of a tarball
- no loop yet. jumped to second item and parsed it's header.

#2
2022-02-07 21:52:48 +01:00
Marcel Nowicki
d916b9cbe3 Tarstats-pp-1 Prototyping: Parse all items of a tarball
- no loop yet. jumped to second item and parsed it's header.
2022-02-07 21:46:03 +01:00
Marcel Nowicki
b985fc0c8f Tarstats-pp-1 Prototyping: Parse all items of a tarball
- no loop yet. jumped to second item and parsed it's header.
2022-02-07 21:43:46 +01:00
Marcel Nowicki
2bbfa75a7e Some git cleanup cleanup 2022-02-06 22:12:14 +01:00
blindi0815
af847241ce Delete .idea directory 2022-02-06 20:50:04 +01:00
blindi0815
f893004ee2 Delete cmake-build-debug directory 2022-02-06 20:49:46 +01:00
Marcel Nowicki
2b21f572dd Some git cleanup cleanup 2022-02-06 20:47:31 +01:00
Marcel Nowicki
6c33b226f4 Some git cleanup cleanup 2022-02-06 20:43:47 +01:00
blindi0815
0764b6060d Create LICENSE 2022-02-06 13:50:48 +01:00
blindi0815
233a675815 Create README.md 2022-02-06 13:43:47 +01:00
Marcel Nowicki
6484ed9a47 Prototyping:
- Opening a GNU Tar file via comand line argument
- Parse itemname, itemtype and itemsize in bytes of first item in Tar archive
- Print those to stdout.
2022-02-06 13:28:10 +01:00
Marcel Nowicki
3cedfc5b27 Prototyping:
- Opening a GNU Tar file via comand line argument
- Parse itemname, itemtype and itemsize in bytes of first item in Tar archive
- Print those to stdout.
2022-02-06 13:27:36 +01:00
Marcel Nowicki
529497fe54 - renamed variables for headerbuffer and headersize 2022-02-05 00:15:21 +01:00
Marcel Nowicki
5c1e55fd0b - success: open tarball
- success: read name of first file in archive and print it
2022-02-05 00:06:31 +01:00
Marcel Nowicki
de21161bbd - success: open tarball
- success: read name of first file in archive and print it
2022-02-05 00:06:19 +01:00
Marcel Nowicki
13e1a20daa - success: open tarball
- success: read name of first file in archive and print it
2022-02-05 00:01:25 +01:00
Marcel Nowicki
3b287422fa Erste Versuche, Problem: tar öffnet nicht 2022-02-04 19:00:29 +01:00
Marcel Nowicki
178989fc78 Initial commit 2022-02-04 18:33:02 +01:00