parent
c3cf0484bd
commit
90d3b015a3
@ -0,0 +1,15 @@
|
||||
#! /bin/bash
|
||||
|
||||
find -E . -regex '.*(pdf)$' -type f | while read f
|
||||
do
|
||||
p="$(basename "$f")"
|
||||
dir="$(dirname "$f")"
|
||||
lc=$(echo ${p} | tr '[:upper:]' '[:lower:]' \
|
||||
| tr '_' '-' | tr -d ':' | tr -d ',' | tr '[:blank:]' '-' \
|
||||
| sed 's/\-\-*/-/')
|
||||
|
||||
if [ "$p" != "$lc" ]
|
||||
then
|
||||
git mv -f "$dir/$p" "$dir/$lc"
|
||||
fi
|
||||
done
|
Binary file not shown.
0
distributed_systems/A Solution to the Network Challenges of Data Recovery in Erasure-coded Distributed Storage Systems: A Study on the Facebook Warehouse Cluster.pdf → distributed_systems/a-solution-to-the-network-challenges-of-data-recovery-in-erasure-coded-distributed-storage-systems-a-study-on-the-facebook-warehouse-cluster.pdf
0
distributed_systems/A Solution to the Network Challenges of Data Recovery in Erasure-coded Distributed Storage Systems: A Study on the Facebook Warehouse Cluster.pdf → distributed_systems/a-solution-to-the-network-challenges-of-data-recovery-in-erasure-coded-distributed-storage-systems-a-study-on-the-facebook-warehouse-cluster.pdf
Loading…
Reference in new issue