Menu

Public release of fdump (Version 0.0.6.8)

*** Actual Additions and bug fixes ***

Legend:

+ = Addition/modification

! = Bug fix

+ Added a find strings function and find not strings function using

these flags respectively; -F, -F!

+ Added a count operation flag or the -C option. Currently supported

operations are the -F and -F! options. It will display the number

of matched lines for these operations

+ Added a line number for output flag or option. The -L option or flag

will display the line number of each match for the -F/-F! options

+ Added a case insensitive option or flag. When used with the -F/-F!

find strings functions, the searches will be performed in a case

insensitive manner

+ Greatly expanded the power of the file update flag's "unlink" operator.

The -u [u] operation will automatically determine if the commandline

pathname was a file or a directory. If it is a directory, it will

silently delete an entire directory tree. This is analogous to the

Windows command rd /s /q and UNIX/Linux-based rm -rf command. Please

use extreme caution when using this operation

+ Greatly expanded the power of the (purposely primitive) -k option or

flag. The new "copy/kopy" operation can recursively copy files and

directories. The supported additional flags are: -y, -R and -B options

+ Added a "move" operation that is essentially identical to the copy

operation, except that the source is removed and henced, "moved".

The -M option or flag supports the same options or flags as -k does

+ Added a new file update operation for the overloaded -u option or flag.

The "f" or flip/reverse operation will reverse an entire file, as in:

-u [f] FILE1...N. Note, this operation is reciprocal

+ Added a directory listing flag or option. The -l option will display the

contents of a directory to the screen by default. Its output formatting

is a hybrid between the windows dir command and UNIX/Linux-based ls command

+ Added a new, powerful recursion option or flag that allows certain operations

to operate recursively. The currently supported operations are: -l flag,

-k flag and -M flag. Note, previous operations may also be added later

+ Added a "names only" flag or option. The "names only" flag or -N option

allows the -l option to display only file/directory names to STDOUT with

no summary information. It is analogous to the Windows dir /B command

+ Added a new "break" or cease current operation and exit flag or option.

The -B flag will terminate the current opeation on certain errors and

cause fdump to exit immediately. By default, fdump always tries to

continue on errors. The supported operations are: -k and -M options

+ Added a new rename operation. The --rename flag will rename a file or

directory to a new name. Note, fdump will automatically determine if

the pathname as specified on the commandline is a file or a directory

+ Added a print working directory flag or option. The --pwd flag will

print to STDOUT fdump's current working directory from which is was invoked

+ Added a make or create new directory option or flag. The --mkdir flag

will create a new directory if it does not yet already exist. Note,

fdump will automatically create all leading directories in the new

directory tree for you

+ Significantly reduced the internal complexities of returning error

numbers back to the calling process; that is, the shell or program

that launced fdump. Now fdump will print an error string to STDERR

and return "1" to the calling process on error or simply "0" for success

+ Most new operations internally will be implemented in a "modular" manner

providing great flexibility in the future for new features and options

+ Some internal code cleanups and adjustments

+ Modified the version string to reflect date of compilation and platform

+ Added more file information data to the -s or "statistics" flag for

UNIX-based systems

! Fixed a few minor bugs for output displays using the padding option

These are the new features/bug fixes added to version 0.0.6.8

over the prior release 0.0.6.7

[Binary]

An executable program file is included in this release for

Windows-based computers. It is named fdump.exe and was

compiled with Dev-C++ 4.9.9.2 on Windows Vista. There is

also now a pre-compiled binary for Linux.

[Source code]

The source code is comprised of two files: basename.cpp and

fdump.cpp These should compile on a *NIX-based system

using g++ or equivalent. Note, fdump.1 is a pre-formatted

man (manual) file ready for use. Please install this

into your local manpath.

Posted by Matt 2010-03-14

Log in to post a comment.