-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscripts.html
More file actions
52 lines (36 loc) · 2.21 KB
/
scripts.html
File metadata and controls
52 lines (36 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<html>
<head>
<link rel="stylesheet" href="assets/styles/styles.css">
</head>
<body>
<div>
<h2>Steps</h2>
<h4>1. Create folder listing</h4>
PowerShell command to generate list of folders:
<pre>Get-ChildItem -Path I:\Photos -Recurse| Where-Object {$_.GetType().Name -Like "DirectoryInfo"} | %{$_.FullName} > "d:\Google Drive\folders.txt"</pre>
<h4>2. Create file listing</h4>
PowerShell command to generate files list:
<pre>Get-ChildItem -Path I:\Photos -Recurse| Where-Object {$_.GetType().Name -Like "FileInfo"} | %{$_.FullName} > "d:\Google Drive\files.txt"</pre>
<h4>3. Import folders list - inserting new folders</h4>
<a href="utility/import_folders.cfm">import_folders.cfm</a>
<h4>4. Extract folder name from path and save in table, also set parent and thumbnail folders:</h4>
<a href="utility/set_folder_names.cfm">set_folder_names.cfm</a>
<h4>5. Import files list - inserting new files</h4>
<a href="utility/import_files.cfm">import_files.cfm</a>
<h4>6. Extract file name from path and save in table:</h4>
<a href="utility/set_file_names.cfm">set_file_names.cfm</a> - may no longer be needed...
<h4>7. Write batch file for creating thumbnail folders:</h4>
<a href="utility/save_mkdir_to_do.cfm">save_mkdir_to_do.cfm</a> - creates file c:\temp\mkdir_to_do.bat
<h4>8. Write batch file for running Image Magick to create JPG thumbnails from HEIC files</h4>
<a href="utility/save_magick_to_do.cfm">save_magick_to_do.cfm</a> - creates file c:\temp\magick_to_do.bat
<h4>9. Write list of files for creating thumbnails using ColdFusion</h4>
<a href="utility/save_file_thumbnails_to_do_list.cfm">save_file_thumbnails_to_do_list.cfm</a> - creates file c:\temp\thumbnails_to_do.txt
<h4>10. Create thumbnails using ColdFusion (non HEIC image files)</h4>
<a href="utility/create_new_thumbnails.cfm">create_new_thumbnails.cfm</a>
<h4>11. Generate index files</h4>
<a href="utility/write_index_pages.cfm">Write_owner_index_pages</a><br />
<a href="utility/utility.cfc?method=write_collection_pages">write_collection_pages()</a>
To do: check for folders and files with space in name....
</div>
</body>
</html>