Create a directory with AntBuilder
This creates a directory with the groovy AntBuilder.
(more…)
Create a zipfile
Creating a zipfile in groovy is pretty simple.
(more…)
Get drive letters
To Retrieve all the topmost directories you can use the following code snippet.
(more…)
Working directory
Getting the working directory of a script is simple.
(more…)
Filter lines
The filterLine returns those lines where the closure returns true.
(more…)
List the contents of a zip file
This snippets shows how to list the contents of a zip file.
(more…)
Moving a file to a directory
This moves a file to directory.
(more…)
Create a directory
This snippet shows how to create new directories in groovy.
(more…)
Creating a temporary file
Making an existing file temporary this will delete the file on programm termination.
(more…)
Loop over dates
Dates can be ranges to.
(more…)