gcc -c -fPIC sqlite3.c
# gcc -shared -o libsqlite3.so -fPIC sqlite3.o
gcc -shared -o libsqlite3.so -fPIC sqlite3.o -ldl -lpthre...
Thứ Năm, 28 tháng 2, 2019
Thứ Tư, 13 tháng 2, 2019
Delete large directory containing thousands of files
We have an issue with a folder with hundreds of thousands of tiny files.
There are so many files that performing rm -rf returns an error and instead what we need to do is something like:
find /path/to/folder -name "filenamestart*" -type f -exec rm -f {} \;
This works but is very slow and constantly fails from running out of memory.
Is there a better way to do this?
=====>>
Using rsync is surprising fast and simple.
mkdir...
Đăng ký:
Bài đăng (Atom)