mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-26 23:16:40 +00:00
10 lines
180 B
Plaintext
10 lines
180 B
Plaintext
|
#!/bin/sh
|
||
|
IFS=$(printf '\n\t')
|
||
|
for i in $(fd -t f); do
|
||
|
if [ "$(du "$i" | cut -f1)" -lt "$(du "$1/$i" | cut -f1)" ]; then
|
||
|
echo "$i"
|
||
|
mv "$i" "$1/$i"
|
||
|
fi
|
||
|
done
|
||
|
|