---
title: "Toolkit - Can I use filename date expansion variables in the Toolkit plugin similar to FKM/FTM?"
description: "Filename date expansion variables are built into FKM and FTM plugins but not directly available in the Toolkit plugin. Toolkit users can achieve similar functionality by using Linux or UNIX shell script date commands within the file path."
url: "https://docs.itrsgroup.com/docs/faq/geneos/360012490178-geneos-toolkit-can-i-use-filename-date-expansion-variables-in-the-toolkit-plugin-similar-to-fkm-ftm/index.html"
---

**Warning**



This solution only works for Linux or UNIX-based shell script toolkits.




FKM and FTM plugins have built-in filename date expansion variables, such as `<today>`. But in Toolkit, you can use Linux or UNIX's built-in date command and its various options within the file path and the Toolkit plugin will recognize these as well.

You can use the date command and its format options within the file path like the following example in your sampler script execution:

```
/bin/cat /mnt/files/reports/closereport/Report_`date +"%Y%m%d"`.csv
```

![Date expansion variables in sampler script](https://docscdn.itrsgroup.com/faq/images/geneos/date-command-sampler-script.png)

This should automatically expand to the current date with the filename formatted to `Report\_YYYYMMDD` similar to having `Report\_<today>` in FKM/FTM.


