This function renames or copies files created with an Audiomoth device in a readable format including the data and time of recording.
audiomoth.rename(dir, overwrite = FALSE, tz = "", prefix = "")
1 logical vector indicating which operation succeeded for each of the files attempted.
a character vector, path to directory where the .WAV files are stored.
a logical, to specify if the files should be renamed
or copied, if TRUE
the files are copied, if FALSE
the files are renamed.
a character vector defining a time zone specification. See as.POSIXct
a charcter vector for a prefix name to be added at the beginning of the file name.
Jerome Sueur
The format of the new file names follows the format of the
SongMeter SM2/SM4 deveices: PREFIX_YYYYMMDD_HHMMSS.wav
.
audiomoth
, songmeter