11 lines
305 B
Rust
11 lines
305 B
Rust
use crate::{exiftool::ExifError, process::Process};
|
|
|
|
#[tracing::instrument(level = "trace", skip_all)]
|
|
pub(super) fn clear_metadata_command(timeout: u64) -> Result<Process, ExifError> {
|
|
Ok(Process::run(
|
|
"exiftool",
|
|
&["-all=", "-", "-out", "-"],
|
|
&[],
|
|
timeout,
|
|
)?)
|
|
}
|