Thursday, September 28

Bombs away!

Hi all!

I've already written a few things about Bombshell as an introduction to the project and to share some details on its goals.

This post lists the first couple of scripts that have been added to the master branch, since they've been fully tested and achieve their intended functionality. Some polishing will be applied in time, depending on application needs.

  • dispcont: a simple interactive script to display grouped totals of directory contents

As the description suggests, dispcont is very useful when a categorized display of directory contents is needed for the given path, to its own depth (not recursively). The script can be run with a --hidden option, to include accounting for hidden files and directories, then interactively receives the full path from the user.

The output sums up directories, default filetypes and unspecified (not native) filetypes in the input path.

This eliminates the need for piping wc and ls commands, while being able to run from any point in the file system.

  • easycp: easily copy entire folder contents recursively and interactively

This script makes copying of entire directory trees a breeze, while also completely eliminating procedural errors from the user. To put it simply, it's cp for dummies :)! Source and destination paths are checked, all nested directories are automatically created, if needed, and the entire process is as simple as entering the paths when prompted!

I'm also very happy with the very clean way easycp handles the copying process!

The script cannot be used for copying single files or directory contents selectively, though this is going to be implemented to the Bombshell toolbox with another script!

The project repository can be found in the appropriate section of this blog.

More info in the next update!

Cheers,
Dimitris


No comments: