Usage: php organize_backups.php '[pattern]' Example of pattern : '../../somedir/somefile*gz'