mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
quick notes
This commit is contained in:
13
docs/quick notes/_not_used/loop_test.sh
Normal file
13
docs/quick notes/_not_used/loop_test.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Define the source folder
|
||||
source_folder="20231228_201550_pt"
|
||||
|
||||
# Define the number of copies you want to make
|
||||
number_of_copies=40
|
||||
|
||||
# Loop and copy the folder into c1, c2, c3, c4, ...
|
||||
for i in $(seq 1 $number_of_copies); do
|
||||
cp -r "$source_folder" "c$i"
|
||||
btrfstune -m "c$i/tiles.btrfs"
|
||||
done
|
||||
Reference in New Issue
Block a user