Re: door bell like sound effect

2023-08-31 Thread songbird
Karl Vogel wrote: > On Wed, Aug 30, 2023 at 07:55:14AM -0400, songbird wrote: >> Karl Vogel wrote: >> ... >> > If nothing else, it's faster to run "locate" and look for file extensions; >> > running "file" on that much crap took nearly 9 hours. >> >> do you have SSDs or spinning rust? > > I have

Re: door bell like sound effect

2023-08-31 Thread Michel Verdier
On 2023-08-30, Karl Vogel wrote: > logmsg "running b2sum" > fdbdir=$(date '+/var/fdb/%Y/%m%d') > sort -z $work | xargs -0r b2sum -l 128 > "$fdbdir/zroot.sum" > rm $work > exit 0 > > Useful for finding changed files -- security, backups, etc. tripwire from local host and stea

Re: door bell like sound effect

2023-08-30 Thread Karl Vogel
On Wed, Aug 30, 2023 at 07:55:14AM -0400, songbird wrote: > Karl Vogel wrote: > ... > > If nothing else, it's faster to run "locate" and look for file extensions; > > running "file" on that much crap took nearly 9 hours. > > do you have SSDs or spinning rust? I have a 256-Gb SSD and two mirrore

Re: door bell like sound effect

2023-08-30 Thread Anders Andersson
On Wed, Aug 30, 2023 at 12:50 PM Karl Vogel wrote: > > Out of morbid curiosity (and boredom), I started wondering what types of > audio files I had on my systems. I ran "file --mime-type" on 6.8 million > files, looked for "audio/whatever" and got the file extensions. > > Extension MIME-type

Re: door bell like sound effect

2023-08-30 Thread gene heskett
On 8/30/23 10:48, Greg Wooledge wrote: On Wed, Aug 30, 2023 at 10:15:50AM -0400, gene heskett wrote: On 8/29/23 15:59, Greg Wooledge wrote: find . -name '*.snd' -print many definitions, tell me about it. I made a command line to aplay anything it found, but so far only ogg's and wav's, neither

Re: door bell like sound effect

2023-08-30 Thread gene heskett
On 8/30/23 09:32, zithro wrote: On 30 Aug 2023 04:52, gene heskett wrote: man systemctl ; look for "timer" (in vi(m) use "/" to search) ? $ systemctl list-timers Tried this one ? Maybe find the script(s) where you use this sound ? I mean to find HOW you played this sound, ie. with which app

Re: door bell like sound effect

2023-08-30 Thread gene heskett
On 8/30/23 04:21, Karl Vogel wrote: Out of morbid curiosity (and boredom), I started wondering what types of audio files I had on my systems. I ran "file --mime-type" on 6.8 million files, looked for "audio/whatever" and got the file extensions. Extension MIME-type --

Re: door bell like sound effect

2023-08-30 Thread gene heskett
On 8/29/23 22:12, Max Nikulin wrote: On 30/08/2023 01:58, gene heskett wrote: bash: pactl: command not found gene@coyote:~$ sudo apt install pactl ... E: Unable to locate package pactl Next? Either apt-file suggested earlier or if you are using it rarely and prefer to avoid downloading of

Re: door bell like sound effect

2023-08-30 Thread Curt
On 2023-08-29, Larry Martell wrote: > On Tue, Aug 29, 2023 at 12:59 PM Greg Wooledge wrote: >> >> On Tue, Aug 29, 2023 at 09:29:35AM -0700, Larry Martell wrote: >> > find . -regex '.*\.snd$' -print >> >> That is an incredibly silly way to write >> >> find . -name '*.snd' -print > > Gene said

Re: door bell like sound effect

2023-08-30 Thread Greg Wooledge
On Wed, Aug 30, 2023 at 10:15:50AM -0400, gene heskett wrote: > On 8/29/23 15:59, Greg Wooledge wrote: > > find . -name '*.snd' -print > many definitions, tell me about it. I made a command line to aplay anything > it found, but so far only ogg's and wav's, neither of which aplay can do > anything

Re: door bell like sound effect

2023-08-30 Thread gene heskett
On 8/29/23 15:59, Greg Wooledge wrote: find . -name '*.snd' -print many definitions, tell me about it. I made a command line to aplay anything it found, but so far only ogg's and wav's, neither of which aplay can do anything with except digital noise. Says raw file and does not adequately/auto

Re: door bell like sound effect

2023-08-30 Thread tomas
On Wed, Aug 30, 2023 at 09:23:24AM -0400, Greg Wooledge wrote: [...] > For the record, "-exec file {} +" isn't a GNU extension. That's actually > portable (it's in POSIX). Thanks... I stand corrected :) Cheers -- t signature.asc Description: PGP signature

Re: door bell like sound effect

2023-08-30 Thread zithro
On 30 Aug 2023 04:52, gene heskett wrote: man systemctl ; look for "timer" (in vi(m) use "/" to search) ? $ systemctl list-timers Tried this one ? Maybe find the script(s) where you use this sound ? I mean to find HOW you played this sound, ie. with which application. With ALSA, you could ha

Re: door bell like sound effect

2023-08-30 Thread songbird
wrote: ... > Yours just sailed through the directory structures. yes, i know that, which is why i asked. ;) songbird

Re: door bell like sound effect

2023-08-30 Thread Greg Wooledge
On Wed, Aug 30, 2023 at 02:57:35PM +0200, to...@tuxteam.de wrote: > Karl ran (probably -exec) "file --mimetype" on each one, which at > least involves opening each of the files once and reading a few > (tens of) bytes off it. > > Depending on how he invoked it (with a \; at the end of find or > wi

Re: door bell like sound effect

2023-08-30 Thread tomas
On Wed, Aug 30, 2023 at 07:43:51AM -0400, songbird wrote: > Karl Vogel wrote: > ... > > If nothing else, it's faster to run "locate" and look for file extensions; > > running "file" on that much crap took nearly 9 hours. > > do you have SSDs or spinning rust? > > when i just did this: > > #

Re: door bell like sound effect

2023-08-30 Thread songbird
Karl Vogel wrote: ... > If nothing else, it's faster to run "locate" and look for file extensions; > running "file" on that much crap took nearly 9 hours. do you have SSDs or spinning rust? when i just did this: # find / -type f | wc -l it took all of 24 seconds for the 2.4 million files

Re: door bell like sound effect

2023-08-30 Thread Karl Vogel
Out of morbid curiosity (and boredom), I started wondering what types of audio files I had on my systems. I ran "file --mime-type" on 6.8 million files, looked for "audio/whatever" and got the file extensions. Extension MIME-type --- .8svx audio/x-aiff

Re: door bell like sound effect

2023-08-29 Thread David Wright
On Tue 29 Aug 2023 at 23:54:41 (-0400), Karl Vogel wrote: > On Tue, Aug 29, 2023 at 10:53:39PM -0400, gene heskett wrote: > > And that is the problem, and why I read thru all those man ages trying to > > find a way to make it log what it did. Sadly no. > > Install and configure file auditing on

Re: door bell like sound effect

2023-08-29 Thread Karl Vogel
On Tue, Aug 29, 2023 at 10:53:39PM -0400, gene heskett wrote: > And that is the problem, and why I read thru all those man ages trying to > find a way to make it log what it did. Sadly no. Install and configure file auditing on Debian: https://www.daemon.be/maarten/auditd.html Auditing ca

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/29/23 14:54, gene heskett wrote: On 8/29/23 12:50, zithro wrote: On 29 Aug 2023 18:19, gene heskett wrote: On 8/28/23 12:20, zithro wrote: On 28 Aug 2023 09:29, gene heskett wrote: Have you checked all the cron files and the systemd timers ? cron yes, systemd timers no, don't know ho

Re: door bell like sound effect

2023-08-29 Thread Max Nikulin
On 30/08/2023 01:58, gene heskett wrote: bash: pactl: command not found gene@coyote:~$ sudo apt install pactl ... E: Unable to locate package pactl Next? Either apt-file suggested earlier or if you are using it rarely and prefer to avoid downloading of file lists for all packages then htt

Re: door bell like sound effect

2023-08-29 Thread zithro
On 29 Aug 2023 21:55, Greg Wooledge wrote: On Tue, Aug 29, 2023 at 02:58:44PM -0400, gene heskett wrote: E: Unable to locate package pactl unicorn:~$ type pactl pactl is /usr/bin/pactl unicorn:~$ dpkg -S /usr/bin/pactl pulseaudio-utils: /usr/bin/pactl Or : $ apt-file search pactl [...] pul

Re: door bell like sound effect

2023-08-29 Thread Larry Martell
On Tue, Aug 29, 2023 at 12:59 PM Greg Wooledge wrote: > > On Tue, Aug 29, 2023 at 09:29:35AM -0700, Larry Martell wrote: > > find . -regex '.*\.snd$' -print > > That is an incredibly silly way to write > > find . -name '*.snd' -print Gene said that was finding many files that had snd in their

Re: door bell like sound effect

2023-08-29 Thread Greg Wooledge
On Tue, Aug 29, 2023 at 09:29:35AM -0700, Larry Martell wrote: > find . -regex '.*\.snd$' -print That is an incredibly silly way to write find . -name '*.snd' -print But the bigger issue is that audio files may have MANY different extensions, with .snd being only one of them.

Re: door bell like sound effect

2023-08-29 Thread Greg Wooledge
On Tue, Aug 29, 2023 at 02:58:44PM -0400, gene heskett wrote: > E: Unable to locate package pactl unicorn:~$ type pactl pactl is /usr/bin/pactl unicorn:~$ dpkg -S /usr/bin/pactl pulseaudio-utils: /usr/bin/pactl

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/29/23 14:48, gene heskett wrote: On 8/29/23 12:50, Max Nikulin wrote: On 29/08/2023 22:41, Curt wrote: You'd think it'd be simpler to write a script that runs overnight checking for active audio sources (using maybe 'pacmd list-sink-inputs' or similar) and logging them to a file when dete

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/29/23 12:50, zithro wrote: On 29 Aug 2023 18:19, gene heskett wrote: On 8/28/23 12:20, zithro wrote: On 28 Aug 2023 09:29, gene heskett wrote: Have you checked all the cron files and the systemd timers ? cron yes, systemd timers no, don't know how. man systemctl ; look for "timer" (

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/29/23 12:50, Max Nikulin wrote: On 29/08/2023 22:41, Curt wrote: You'd think it'd be simpler to write a script that runs overnight checking for active audio sources (using maybe 'pacmd list-sink-inputs' or similar) and logging them to a file when detected. Is it possible to increase verb

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/29/23 12:46, debian-u...@howorth.org.uk wrote: gene heskett wrote: On 8/28/23 12:20, zithro wrote: On 28 Aug 2023 09:29, gene heskett wrote: Greetings; odd request: Yeah, almost unreal ^^ Somewhere, for some unk reason, there is a sound file file that plays at max volume, usuall

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/29/23 12:30, Larry Martell wrote: On Tue, Aug 29, 2023 at 9:19 AM gene heskett wrote: On 8/28/23 12:20, zithro wrote: On 28 Aug 2023 09:29, gene heskett wrote: To aid in finding it, what extension might that file be carrying to indicate its a .snd fle, which according to grep on ls -lR'

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/29/23 07:22, Greg Wooledge wrote: On Tue, Aug 29, 2023 at 11:10:17AM +0200, Michael wrote: On Tuesday, 29 August 2023 03:56:55 CEST, Greg Wooledge wrote: The problem is, most Debian systems are set up to mount the core file systems with "relatime". This means you don't have a record of t

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/28/23 23:44, Greg Wooledge wrote: On Mon, Aug 28, 2023 at 11:32:25PM -0400, songbird wrote: Greg Wooledge wrote: The problem is, most Debian systems are set up to mount the core file systems with "relatime". This means you don't have a record of the last time each file was accessed, so yo

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/28/23 21:32, songbird wrote: Cindy Sue Causey wrote: ... That triggered yet another thought: What about some kind of a file search that narrows down "Last Accessed" data for all the various sound file types? most recently accessed files could be located via find command. i assumed Gen

Re: door bell like sound effect

2023-08-29 Thread zithro
On 29 Aug 2023 18:35, gene heskett wrote: I have no known enemies left, I've outlived them all. And there is a PIR facing out that see's a 34 yo pin oak moving in the wind many times a day. What about their families ? ^^ Joke aside, trees don't produce heat themselves (AFAIK ...), so the only

Re: door bell like sound effect

2023-08-29 Thread zithro
On 29 Aug 2023 18:19, gene heskett wrote: On 8/28/23 12:20, zithro wrote: On 28 Aug 2023 09:29, gene heskett wrote: Have you checked all the cron files and the systemd timers ? cron yes, systemd timers no, don't know how. man systemctl ; look for "timer" (in vi(m) use "/" to search) ? $

Re: door bell like sound effect

2023-08-29 Thread Max Nikulin
On 29/08/2023 22:41, Curt wrote: You'd think it'd be simpler to write a script that runs overnight checking for active audio sources (using maybe 'pacmd list-sink-inputs' or similar) and logging them to a file when detected. Is it possible to increase verbosity of logs of some pulseaudio modul

Re: door bell like sound effect

2023-08-29 Thread debian-user
gene heskett wrote: > On 8/28/23 12:20, zithro wrote: > > On 28 Aug 2023 09:29, gene heskett wrote: > >> Greetings; > >> > >> odd request: > > > > Yeah, almost unreal ^^ > > > >> > >> Somewhere, for some unk reason, there is a sound file file that > >> plays at max volume, usually around 2

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/28/23 12:20, zithro wrote: On 28 Aug 2023 09:29, gene heskett wrote: Greetings; odd request: Yeah, almost unreal ^^ Somewhere, for some unk reason, there is a sound file file that plays at max volume, usually around 2 AM or slightly later, that is very similar to the 40 yo doorbell

Re: door bell like sound effect

2023-08-29 Thread Larry Martell
On Tue, Aug 29, 2023 at 9:19 AM gene heskett wrote: > > On 8/28/23 12:20, zithro wrote: > > On 28 Aug 2023 09:29, gene heskett wrote: > >> To aid in finding it, what extension might that file be carrying to > >> indicate its a .snd fle, which according to grep on ls -lR's output, > >> does not exi

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/28/23 12:20, zithro wrote: On 28 Aug 2023 09:29, gene heskett wrote: Greetings; odd request: Yeah, almost unreal ^^ Somewhere, for some unk reason, there is a sound file file that plays at max volume, usually around 2 AM or slightly later, that is very similar to the 40 yo doorbell

Re: door bell like sound effect

2023-08-29 Thread gene heskett
On 8/28/23 05:26, Michel Verdier wrote: On 2023-08-28, gene heskett wrote: Any help in finding this will be hugely appreciated. As you are awake and know the time of ringing do you check the logs around that time ? . I checked them a couple minutes after the last time but nothing stood out

Re: door bell like sound effect

2023-08-29 Thread Curt
On 2023-08-29, Greg Wooledge wrote: > > There's still going to be a whole lotta searching through the haystack > to find the needle. Obviously, knowing the approximate date and time > the file was last read would be of tremendous help, as you can zoom in > on that part of the results. > > You'd

Re: door bell like sound effect

2023-08-29 Thread David Wright
On Tue 29 Aug 2023 at 08:37:00 (-0400), Greg Wooledge wrote: > On Tue, Aug 29, 2023 at 07:46:16AM -0400, songbird wrote: > > ok, i understand that but my command > > > > $ alias aq='find . -amin -30' > > $ aq > > > > works as it should. > > Oh. I guess I should have read the *entire* sectio

Re: door bell like sound effect

2023-08-29 Thread Greg Wooledge
On Tue, Aug 29, 2023 at 07:46:16AM -0400, songbird wrote: > ok, i understand that but my command > > $ alias aq='find . -amin -30' > $ aq > > works as it should. Oh. I guess I should have read the *entire* section of the man page. relatime [...] Since Linux 2.6

Re: door bell like sound effect

2023-08-29 Thread Michel Verdier
On 2023-08-29, Greg Wooledge wrote: > It's changed *only* under the specific circumstance where the file has > been modified since it was last read. If the file hasn't been written to > (or metadata changed), atime isn't updated. Michael is right : atime is modified if it's "ealier" so you alway

Re: door bell like sound effect

2023-08-29 Thread songbird
Greg Wooledge wrote: > On Mon, Aug 28, 2023 at 11:32:25PM -0400, songbird wrote: >> Greg Wooledge wrote: >> > The problem is, most Debian systems are set up to mount the core file >> > systems with "relatime". This means you don't have a record of the >> > last time each file was accessed, so you

Re: door bell like sound effect

2023-08-29 Thread Greg Wooledge
On Tue, Aug 29, 2023 at 11:10:17AM +0200, Michael wrote: > On Tuesday, 29 August 2023 03:56:55 CEST, Greg Wooledge wrote: > > > The problem is, most Debian systems are set up to mount the core file > > systems with "relatime". This means you don't have a record of the > > last time each file was

Re: door bell like sound effect

2023-08-29 Thread Michael
On Tuesday, 29 August 2023 03:56:55 CEST, Greg Wooledge wrote: The problem is, most Debian systems are set up to mount the core file systems with "relatime". This means you don't have a record of the last time each file was accessed, so you can't ask the computer which files were most recently

Re: door bell like sound effect

2023-08-28 Thread Greg Wooledge
On Mon, Aug 28, 2023 at 11:32:25PM -0400, songbird wrote: > Greg Wooledge wrote: > > The problem is, most Debian systems are set up to mount the core file > > systems with "relatime". This means you don't have a record of the > > last time each file was accessed, so you can't ask the computer whic

Re: door bell like sound effect

2023-08-28 Thread songbird
Greg Wooledge wrote: > On Mon, Aug 28, 2023 at 09:21:11PM -0400, songbird wrote: >> Cindy Sue Causey wrote: >> ... >> > That triggered yet another thought: What about some kind of a file >> > search that narrows down "Last Accessed" data for all the various >> > sound file types? >> >> most rece

Re: door bell like sound effect

2023-08-28 Thread Greg Wooledge
On Tue, Aug 29, 2023 at 04:02:03AM +0100, mick.crane wrote: > On 2023-08-28 08:29, gene heskett wrote: > > Somewhere, for some unk reason, there is a sound file file that plays > > at max volume, usually around 2 AM or slightly later, that is very > > similar to the 40 yo doorbell in this house. A

Re: door bell like sound effect

2023-08-28 Thread mick.crane
On 2023-08-28 08:29, gene heskett wrote: Greetings; odd request: Somewhere, for some unk reason, there is a sound file file that plays at max volume, usually around 2 AM or slightly later, that is very similar to the 40 yo doorbell in this house. A bing-bong sound that differs from the real doo

Re: door bell like sound effect

2023-08-28 Thread Greg Wooledge
On Mon, Aug 28, 2023 at 09:21:11PM -0400, songbird wrote: > Cindy Sue Causey wrote: > ... > > That triggered yet another thought: What about some kind of a file > > search that narrows down "Last Accessed" data for all the various > > sound file types? > > most recently accessed files could be l

Re: door bell like sound effect

2023-08-28 Thread songbird
Cindy Sue Causey wrote: ... > That triggered yet another thought: What about some kind of a file > search that narrows down "Last Accessed" data for all the various > sound file types? most recently accessed files could be located via find command. i assumed Gene would know how to do that...

Re: door bell like sound effect

2023-08-28 Thread fxkl47BF
On Mon, 28 Aug 2023, Cindy Sue Causey wrote: > On 8/28/23, songbird wrote: >> gene heskett wrote: >>> Greetings; >>> >>> odd request: >>> >>> Somewhere, for some unk reason, there is a sound file file that plays at >>> max volume, usually around 2 AM or slightly later, that is very similar >>> to

Re: door bell like sound effect

2023-08-28 Thread Cindy Sue Causey
On 8/28/23, songbird wrote: > gene heskett wrote: >> Greetings; >> >> odd request: >> >> Somewhere, for some unk reason, there is a sound file file that plays at >> max volume, usually around 2 AM or slightly later, that is very similar >> to the 40 yo doorbell in this house. A bing-bong sound tha

Re: door bell like sound effect

2023-08-28 Thread songbird
gene heskett wrote: > Greetings; > > odd request: > > Somewhere, for some unk reason, there is a sound file file that plays at > max volume, usually around 2 AM or slightly later, that is very similar > to the 40 yo doorbell in this house. A bing-bong sound that differs from > the real doorbell

Re: door bell like sound effect

2023-08-28 Thread zithro
On 28 Aug 2023 09:29, gene heskett wrote: Greetings; odd request: Yeah, almost unreal ^^ Somewhere, for some unk reason, there is a sound file file that plays at max volume, usually around 2 AM or slightly later, that is very similar to the 40 yo doorbell in this house. A bing-bong sound

Re: door bell like sound effect

2023-08-28 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 --- Original Message --- On Monday, August 28th, 2023 at 1:47 AM, jeremy ardley wrote: > On 28/8/23 15:29, gene heskett wrote: > > > what extension might that file be carrying to indicate its a .snd fle > > > Try > > > .wav I

Re: door bell like sound effect

2023-08-28 Thread Michel Verdier
On 2023-08-28, gene heskett wrote: > Any help in finding this will be hugely appreciated. As you are awake and know the time of ringing do you check the logs around that time ?

Re: door bell like sound effect

2023-08-28 Thread jeremy ardley
On 28/8/23 15:29, gene heskett wrote: what extension might that file be carrying to indicate its a .snd fle Try .wav .mp3 .aac .oga  .m4a  .ogg .m4b  .opus  .ra  .rm .mid  .midi  .ac3  .dts

door bell like sound effect

2023-08-28 Thread gene heskett
Greetings; odd request: Somewhere, for some unk reason, there is a sound file file that plays at max volume, usually around 2 AM or slightly later, that is very similar to the 40 yo doorbell in this house. A bing-bong sound that differs from the real doorbell by maybe 5hz in pitch. Wakes me u