Você precisa usar basename
:
Synopsis
basename NAME [SUFFIX]
basename OPTION
Description
Print NAME with any leading directory components removed. If
specified, also remove a trailing SUFFIX.
Portanto:
$ basename /storage/testFiles/test.vcf
test.vcf
Além disso, se você precisar do oposto, use dirname
:
$ dirname /storage/testFiles/test.vcf
/storage/testFiles