Elektrine lite

← Feed

@John@chaos.social

Post #2396798

2025-02-19 02:10 UTC

@a@fedi.lawngno.me @Suiseiseki@freesoftwareextremist.com Going to create an alias in my shell so that cat does this. 😌

Replies (1)

  • @John@chaos.social @a@fedi.lawngno.me An alias won't work - you'll need to add a bash function; cat() { ffmpeg -v quiet -f data -i "$1" -map 0 -f data - ; } Unfortunately, such trivial function doesn't operate as a concatenate program, to achieve that, you need to add a bash loop as below; cat() { for argument ; do ffmpeg -v quiet -f data -i "$argument" -map 0 -f data - ; done ; }

    Open ##2396799