How to do things
AI Noob vs. Pro

List biggest files
List newest files
Show subdir sizes
Search in files
Replace word in files
List dir differences
Send files in LAN

Free Open Source:

Swiss File Knife

a command line
multi function tool.

remove tabs
list dir sizes
find text
filter lines
find in path
collect text
instant ftp or
http server
file transfer
send text
patch text
patch binary
run own cmd
convert crlf
dup file find
md5 lists
fromto clip
hexdump
split files
list latest
compare dirs
save typing
trace http
echo colors
head & tail
dep. listing
find classes
speed shell
zip search
zip dir list

Depeche View
Source Research
First Steps

windows GUI
automation

command line
file encryption

free external tools,
zero install effort,
usb stick compliant:

zip and unzip
diff and merge
reformat xml
reformat source

cpp sources

log tracing
mem tracing
hexdump
using printf

articles

embedded
stat. c array
stat. java array
var. c array
var. java array
view all text
as you type
surf over text
find by click
quick copy
multi view
find nearby
fullscreen
bookmarks
find by path
expressions
location jump
skip accents
clip match
filter lines
edit text
highlight
load filter
hotkey list
receive text
send in C++
send in Java
smooth scroll
touch scroll
fly wxWidgets
fly over Qt
search Java

List the contents of all .zip, .jar, .ear, .war, .aar, .tar, .tar.gz, tar.bz2 and .tgz files in a folder and all subfolders, including archives nested within other archives, with the free Swiss File Knife tool for the Windows, Intel Mac OS X and Linux command line. Fully portable, no installation. Download the free Swiss File Knife, then type for example:
   sfk -arc list mydir
this command will list
  • all .zip, .jar, .ear, .war, .aar, .tar, .tar.gz, tar.bz2 and .tgz file contents found within the mydir tree.
     
  • all .zip, .jar, .ear, ... file contents found within other .zip, .jar, .ear, ... files (recursive nesting).
     
  • all normal (non-archive) files within mydir, and within all subdirectories of mydir.
which may produce a long list of very long SFK style filenames, looking like

mydir\foo\bar.zip\\sub\dir\tools.jar\\com\the\company\docs.jar\\intro.html
(under Windows)

mydir/foo/bar.zip//sub/dir/tools.jar//com/the/company/docs.jar//intro.html
(under Linux)

In this example, there is an intro.html within a docs.jar, within a tools.jar, within bar.zip, within the mydir directory tree.

more examples:

   sfk -arc list -dir mydir *.jar -file .class

  list only .class files within .jar files within mydir (Linux users type "%" instead of "*"). this example for the Windows command line uses a path mask ".jar" which is identified by a wildcard "*". under Linux, such wildcards are misinterpreted by the shell, therefore "\*" or "%" must be used instead.

   sfk -arc list -dir foo bar *.ear !*\depr -file .class

  list only .class files within .ear files within the foo and bar directory tree, however excluding any files within directories named like "depr". (Linux users type ":" instead of "!")

   sfk list -arc eclipse-SDK-3.4-win32.zip

  list everything within the eclipse SDK, in total over 70000 files.

   sfk -arc list -big eclipse-SDK-3.4-win32.zip .java

  what are the biggest .java source files within the eclipse SDK? the result:

281535  eclipse-SDK-3.4-win32.zip\\eclipse\plugins \org.eclipse.jdt.core.source_3.4.0.v_874.jar\\org\eclipse \jdt\internal\compiler\problem\ProblemReporter.java
286523  eclipse-SDK-3.4-win32.zip\\eclipse\plugins \org.eclipse.swt.win32.win32.x86.source_3.4.0.v3448f.jar\\org \eclipse\swt\custom\StyledText.java
356264  eclipse-SDK-3.4-win32.zip\\eclipse\plugins \org.eclipse.jdt.core.source_3.4.0.v_874.jar\\org\eclipse \jdt\internal\compiler\ClassFile.java
388268  eclipse-SDK-3.4-win32.zip\\eclipse\plugins \org.eclipse.jdt.core.source_3.4.0.v_874.jar\\org\eclipse \jdt\internal\codeassist\CompletionEngine.java
393718  eclipse-SDK-3.4-win32.zip\\eclipse\plugins \org.eclipse.jdt.core.source_3.4.0.v_874.jar\\org\eclipse \jdt\internal\compiler\parser\Parser.java

see also:

  • how to search single .zip and .jar files for words with the free zzfind tool.
     
  • how to get the original unzip for the command line, which can however list only a single zip file's content.