J"ignorais qu'on pouvait utiliser l'opérateur ! dans les regex bash.
Du coup, pour supprimer tout ce qui n'est pas odt ou mp3 dans un dossier:
rm !(.odt|.mp3)
FoldFold allExpandExpand allAre you sure you want to delete this link?Are you sure you want to delete this tag?
The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community