diff --git a/src/main.rs b/src/main.rs index 5df2759..0999d6a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -181,10 +181,13 @@ fn handle_dir(path: PathBuf) { if let Some(extension) = inode.path().extension().unwrap_or("none".as_ref()).to_str() { match extension.to_string().to_lowercase().as_ref() { + "csv" => { handle_document(inode) } "doc" => { handle_document(inode) } "docx" => { handle_document(inode) } "odt" => { handle_document(inode) } "rtf" => { handle_document(inode) } + "xls" => { handle_document(inode) } + "xlsx" => { handle_document(inode) } "gif" => { handle_gif( inode) } "jpg" => { handle_image( inode) } "jpeg" => { handle_image( inode) } @@ -200,6 +203,7 @@ fn handle_dir(path: PathBuf) { "mp4" => { handle_video( inode) } "srt" => { handle_video( inode) } "7z" => { } + "parts" => { } "torrent" => { } "zip" => { } _ => { println!("Not sure what to do with file: {:?}.", inode.path()); }