anonderpling
commited on
Commit
•
d8cebb7
1
Parent(s):
77bf65a
fix move_nsfw.js
Browse files- move_nsfw.js +1 -1
move_nsfw.js
CHANGED
@@ -5,7 +5,7 @@ var moves=files.filter(file=>{
|
|
5 |
});
|
6 |
moves = moves.map(file=>{
|
7 |
m=file.mirror_path.replace(/\\/g,'/');
|
8 |
-
m=m.replace(/models\/
|
9 |
return m;
|
10 |
}).join('\n')
|
11 |
|
|
|
5 |
});
|
6 |
moves = moves.map(file=>{
|
7 |
m=file.mirror_path.replace(/\\/g,'/');
|
8 |
+
m=m.replace(/(models\/[^/]+|embeddings)\/(.+)/g,'git mv "$1/$2" "$1/nsfw/$2"');
|
9 |
return m;
|
10 |
}).join('\n')
|
11 |
|