first commit
This commit is contained in:
18
cache_generator.sh
Executable file
18
cache_generator.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOC_DIR="$HOME/Documents"
|
||||
CACHE="$DOC_DIR/Docs/rofi_documentos.txt"
|
||||
|
||||
mkdir -p "$(dirname "$CACHE")"
|
||||
|
||||
# Buscar archivos relevantes y escribirlos en el caché
|
||||
find "$DOC_DIR" -type f \( -iname '*.pdf' \) > "$CACHE"
|
||||
#-iname '*.txt' -o \
|
||||
#-iname '*.docx' -o \
|
||||
#-iname '*.doc' -o \
|
||||
#-iname '*.xls' -o \
|
||||
#-iname '*.xlsx' -o \
|
||||
#-iname '*.ppt' -o \
|
||||
#-iname '*.pptx' -o \
|
||||
#-iname '*.md' \
|
||||
|
||||
Reference in New Issue
Block a user