Skip to content
This repository was archived by the owner on Dec 4, 2021. It is now read-only.
This repository was archived by the owner on Dec 4, 2021. It is now read-only.

How to select all except? #2

@barart

Description

@barart

On your find/zip line:
find . | egrep "\.(sav|srm)$" | zip -@ $backupDir/"$archiveFolderName"/$Y/$M/$D/"$timestamp"$backupSuffex.zip
You search for .sav and .srm files... this files works only for one type of emulator and system but there are too much files missing if you use others systems and emulators, so instead of search for savefiles, how can i change the line to include everything except some extensions Like: "find * except '.n64,.z64,.zip,.nes'?

in my point of view its easy to know and create a exception for roms extensions that we add to our retropie rather than know and include all save files for all systems and emulators

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions