Skip to content

luozhy88/Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Script
## 将pdf to png
find . -type f -name '*.pdf' -exec sh -c 'd="${0%/*}"; mkdir -p "$d/pngs"; pdftoppm "${0}" "$d/pngs/${0##*/}" -png' {} \;  
find . -type f -name '*.pdf' -exec sh -c 'd="${1%.*}"; mkdir -p "pngs"; pdftoppm "${1}" "pngs/${1##*/}" -png' sh {} \;  

find . -type f -name '*.pdf' -exec sh -c 'd="${1%.pdf}"; mkdir -p "pngs"; pdftoppm "${1}" "pngs/${1##*/}" -png' sh {} \;  
find . -type f -name '*.pdf' -exec sh -c 'd="${1%.pdf}"; mkdir -p "pngs"; pdftoppm "${1}" "pngs/${1##*/}" -png' sh {} \;

find . -type f -name "*.pdf" -execdir bash -c 'pdftoppm "$1" "${1%.pdf}.png" -png' _ '{}' \;


# 用find函数找到所有以sh结尾的bash文件,然后进入每个bash文件的目录,然后批量进行跑"bash -x file.sh"
find . -type f -name "*.sh" -execdir bash -x '{}' \;


ls -lS #从大到小排序文件大小

# firecrawl爬虫
https://github.com/mendableai/firecrawl

# 查看top后使用的程序线程数目
ps aux | grep "01.2_get_HMDB.R" | grep -v grep | wc -l

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published