Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mac $ ./revised-consolidate-gnu-generalized.command
- ./revised-consolidate-gnu-generalized.command script revised 02/12/2018 13:08:31
- ==============================================================
- Lizard 4
- Lizard 4
- Lizard 4
- ==============================================================
- Copyright (c) 2010 & 2018 historystamp. GNU General Public License.
- Folder not specified. Type the path to the top-level folder or drag
- it into this Terminal window, then click back in this window and press return:
- /Users/mac/consolidate
- Holding down Control-c on the keyboard will stop this script in an emergency.
- WARNING: allowing the script to move files could cause problems!
- Do you want to move all files and bundles to the top level at the end of the run?
- Press 'n' to NOT move files and keep the folder structure intact; otherwise press any key.
- Do you want to disable regrouping of map files into folders based on the .shp filename?
- Press 'n' to NOT regroup map files; otherwise press any key.
- core file size (blocks, -c) 0
- data seg size (kbytes, -d) unlimited
- file size (blocks, -f) unlimited
- max locked memory (kbytes, -l) unlimited
- max memory size (kbytes, -m) unlimited
- open files (-n) 256
- pipe size (512 bytes, -p) 1
- stack size (kbytes, -s) 8192
- cpu time (seconds, -t) unlimited
- max user processes (-u) 709
- virtual memory (kbytes, -v) unlimited
- Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted on
- /dev/disk1 1951137792 1762118112 188507680 91% 220328762 23563460 90% /
- devfs 407 407 0 100% 706 0 100% /dev
- map -hosts 0 0 0 100% 0 0 100% /net
- map auto_home 0 0 0 100% 0 0 100% /home
- /dev/disk3s1 3973424 3344144 629280 85% 0 0 100% /Volumes/DOSFAT32
- /dev/disk2s2 1951855464 1523628928 428226536 79% 190453614 53528317 78% /Volumes/4T Virtual Machines
- /dev/disk2s3 5657210824 5510947712 146263112 98% 688868462 18282889 97% /Volumes/4T Backup - Time Machine
- /dev/disk2s4 202505232 32912672 169592560 17% 4114082 21199070 16% /Volumes/4T Boot For Fun
- /dev/disk6s5 1956993296 1063136736 893856560 55% 132892090 111732070 54% /Volumes/3T VM Backup
- /dev/disk6s2 1949902344 1583782544 366119800 82% 197972816 45764975 81% /Volumes/3T Mac Mini Backup
- /dev/disk6s4 1951171880 1454094568 497077312 75% 181761819 62134664 75% /Volumes/3T iMac G3 Backup
- MainFolder=/Users/mac/consolidate;
- ~/config ~/config
- ~/config
- MainFolder=/Users/mac/consolidate;
- saveFolder=/Users/mac/consolidate/saved--Consolidated--Data;
- trashFolder=/Users/mac/.Trash;
- -rw-r--r-- 1 mac staff 0 Feb 12 13:16 /Users/mac/consolidate/saved--Consolidated--Data/Index.txt
- -rw-r--r-- 1 mac staff 0 Feb 12 13:16 /Users/mac/consolidate/saved--Consolidated--Data/names.txt
- -rw-r--r-- 1 mac staff 0 Feb 12 13:16 /Users/mac/consolidate/saved--Consolidated--Data/Consolidate_Trashed_List_2018-02-12_13.14.txt
- drwx------ 119 mac staff 4046 Feb 12 13:10 /Users/mac/.Trash
- drwxr-xr-x+ 95 mac staff 3230 Feb 12 13:14 /Users/mac/.Trash/..
- --> Deleting .DS_Store and .FBC files from subfolders.
- Gathering debug information. May take a moment. Counting files.
- --> Finding folders and ignoring any folder whose name contains a period and it's content (potential packages).
- --> then finding files & generating list of MD5 checksums for file content.
- folder=/Users/mac/consolidate;
- cat: /Users/mac/consolidate/duplicateOne/rsrc: Not a directory
- dc271e59edbc284444c05a0820e74e26 /Users/mac/consolidate/duplicateOne
- cat: /Users/mac/consolidate/duplicateSameOne/rsrc: Not a directory
- dc271e59edbc284444c05a0820e74e26 /Users/mac/consolidate/duplicateSameOne
- cat: /Users/mac/consolidate/one/rsrc: Not a directory
- b14b56e656623e12e0db9c79ffedee5c /Users/mac/consolidate/one
- cat: /Users/mac/consolidate/three/rsrc: Not a directory
- 2912743722ba4e12e08b7c0a11afc260 /Users/mac/consolidate/three
- cat: /Users/mac/consolidate/two/rsrc: Not a directory
- 01a1054b6ea0a422c327f68a616b25e0 /Users/mac/consolidate/two
- folder=/Users/mac/consolidate/subdirA;
- cat: /Users/mac/consolidate/subdirA/duplicateOne/rsrc: Not a directory
- dc271e59edbc284444c05a0820e74e26 /Users/mac/consolidate/subdirA/duplicateOne
- cat: /Users/mac/consolidate/subdirA/one/rsrc: Not a directory
- e476da9938d5be4fb528940d4d449f79 /Users/mac/consolidate/subdirA/one
- cat: /Users/mac/consolidate/subdirA/three/rsrc: Not a directory
- 70f0f6e322064d92a7e8f8aba95214ad /Users/mac/consolidate/subdirA/three
- cat: /Users/mac/consolidate/subdirA/two/rsrc: Not a directory
- f9fca6645befef5ad74f85ea67febce1 /Users/mac/consolidate/subdirA/two
- folder=/Users/mac/consolidate/subdirB;
- cat: /Users/mac/consolidate/subdirB/duplicateOne/rsrc: Not a directory
- dc271e59edbc284444c05a0820e74e26 /Users/mac/consolidate/subdirB/duplicateOne
- cat: /Users/mac/consolidate/subdirB/one/rsrc: Not a directory
- e91deecd86102d1f3f9609c0bf1dbbfe /Users/mac/consolidate/subdirB/one
- cat: /Users/mac/consolidate/subdirB/three/rsrc: Not a directory
- dc5da4e0f5d4ca042b0e7a7763ecc1ad /Users/mac/consolidate/subdirB/three
- cat: /Users/mac/consolidate/subdirB/two/rsrc: Not a directory
- 3b35bf9200fde7aa6fc306b4b6da4eae /Users/mac/consolidate/subdirB/two
- folder=/Users/mac/consolidate/subdirC;
- cat: /Users/mac/consolidate/subdirC/duplicateOne/rsrc: Not a directory
- dc271e59edbc284444c05a0820e74e26 /Users/mac/consolidate/subdirC/duplicateOne
- cat: /Users/mac/consolidate/subdirC/one/rsrc: Not a directory
- 5b4cd1bd5eaff27f1c08dc33f46a8c4e /Users/mac/consolidate/subdirC/one
- cat: /Users/mac/consolidate/subdirC/three/rsrc: Not a directory
- 8e1d215e41eace92407b49decf277a8e /Users/mac/consolidate/subdirC/three
- cat: /Users/mac/consolidate/subdirC/two/rsrc: Not a directory
- 15130739bb93c4deca5afc5da941cc6a /Users/mac/consolidate/subdirC/two
- Elapsed time in seconds since start of processing: 0 Time of this step: 0
- --> Finding and processing potential packages/bundles.
- --> Note; we look for a period in the base filename which may not be acurate in all cases.
- cat: /Users/mac/consolidate/subdirC/subdirD.app/duplicateOne/rsrc: Not a directory
- cat: /Users/mac/consolidate/subdirC/subdirD.app/one/rsrc: Not a directory
- cat: /Users/mac/consolidate/subdirC/subdirD.app/three/rsrc: Not a directory
- cat: /Users/mac/consolidate/subdirC/subdirD.app/two/rsrc: Not a directory
- 464fba8ad16f6673197bceb5a8c35a59 /Users/mac/consolidate/subdirC/subdirD.app
- cat: /Users/mac/consolidate/subdirE.Latest/duplicateOne/rsrc: Not a directory
- cat: /Users/mac/consolidate/subdirE.Latest/duplicateSameOne/rsrc: Not a directory
- cat: /Users/mac/consolidate/subdirE.Latest/one/rsrc: Not a directory
- cat: /Users/mac/consolidate/subdirE.Latest/three/rsrc: Not a directory
- cat: /Users/mac/consolidate/subdirE.Latest/two/rsrc: Not a directory
- 762566df05a6b70ef25bc6c02254725f /Users/mac/consolidate/subdirE.Latest
- Elapsed time in seconds since start of processing: 0 Time of this step: 0
- --> Sorting list of files and potential bundles by checksum then
- Compare checksums.
- 01a1054b6ea0a422c327f68a616b25e0 /Users/mac/consolidate/two;
- 15130739bb93c4deca5afc5da941cc6a /Users/mac/consolidate/subdirC/two;
- 2912743722ba4e12e08b7c0a11afc260 /Users/mac/consolidate/three;
- 3b35bf9200fde7aa6fc306b4b6da4eae /Users/mac/consolidate/subdirB/two;
- 464fba8ad16f6673197bceb5a8c35a59 /Users/mac/consolidate/subdirC/subdirD.app;
- 5b4cd1bd5eaff27f1c08dc33f46a8c4e /Users/mac/consolidate/subdirC/one;
- 70f0f6e322064d92a7e8f8aba95214ad /Users/mac/consolidate/subdirA/three;
- 762566df05a6b70ef25bc6c02254725f /Users/mac/consolidate/subdirE.Latest;
- 8e1d215e41eace92407b49decf277a8e /Users/mac/consolidate/subdirC/three;
- b14b56e656623e12e0db9c79ffedee5c /Users/mac/consolidate/one;
- dc271e59edbc284444c05a0820e74e26 /Users/mac/consolidate/duplicateOne;
- dc271e59edbc284444c05a0820e74e26 /Users/mac/consolidate/duplicateSameOne;
- = -/Users/mac/.Trash/consolidate~duplicateSameOne~2018-02-12_13.16~23201
- dc271e59edbc284444c05a0820e74e26 /Users/mac/consolidate/subdirA/duplicateOne;
- = -/Users/mac/.Trash/consolidate~subdirA~duplicateOne~2018-02-12_13.16~7548
- dc271e59edbc284444c05a0820e74e26 /Users/mac/consolidate/subdirB/duplicateOne;
- = -/Users/mac/.Trash/consolidate~subdirB~duplicateOne~2018-02-12_13.16~12705
- dc271e59edbc284444c05a0820e74e26 /Users/mac/consolidate/subdirC/duplicateOne;
- = -/Users/mac/.Trash/consolidate~subdirC~duplicateOne~2018-02-12_13.16~14465
- dc5da4e0f5d4ca042b0e7a7763ecc1ad /Users/mac/consolidate/subdirB/three;
- e476da9938d5be4fb528940d4d449f79 /Users/mac/consolidate/subdirA/one;
- e91deecd86102d1f3f9609c0bf1dbbfe /Users/mac/consolidate/subdirB/one;
- f9fca6645befef5ad74f85ea67febce1 /Users/mac/consolidate/subdirA/two;
- Total trashed files: 4 Total trashed applications/bundles: 0
- Elapsed time in seconds since start of processing: 0 Time of this step: 0
- --> Sorting list of names.
- ..duplicateone /Users/mac/consolidate/duplicateOne
- duplicateone; duplicateOne; /Users/mac/consolidate/duplicateOne;
- ..one /Users/mac/consolidate/one
- one; one; /Users/mac/consolidate/one;
- ..one /Users/mac/consolidate/subdirA/one
- one; one; /Users/mac/consolidate/subdirA/one;
- = +/Users/mac/consolidate/subdirA/one #1
- ..one /Users/mac/consolidate/subdirB/one
- one; one; /Users/mac/consolidate/subdirB/one;
- = +/Users/mac/consolidate/subdirB/one #2
- ..one /Users/mac/consolidate/subdirC/one
- one; one; /Users/mac/consolidate/subdirC/one;
- = +/Users/mac/consolidate/subdirC/one #3
- ..subdird.app /Users/mac/consolidate/subdirC/subdirD.app
- subdird.app; subdirD.app; /Users/mac/consolidate/subdirC/subdirD.app;
- ..subdire.latest /Users/mac/consolidate/subdirE.Latest
- subdire.latest; subdirE.Latest; /Users/mac/consolidate/subdirE.Latest;
- ..three /Users/mac/consolidate/subdirA/three
- three; three; /Users/mac/consolidate/subdirA/three;
- ..three /Users/mac/consolidate/subdirB/three
- three; three; /Users/mac/consolidate/subdirB/three;
- = +/Users/mac/consolidate/subdirB/three #1
- ..three /Users/mac/consolidate/subdirC/three
- three; three; /Users/mac/consolidate/subdirC/three;
- = +/Users/mac/consolidate/subdirC/three #2
- ..three /Users/mac/consolidate/three
- three; three; /Users/mac/consolidate/three;
- = +/Users/mac/consolidate/three #3
- ..two /Users/mac/consolidate/subdirA/two
- two; two; /Users/mac/consolidate/subdirA/two;
- ..two /Users/mac/consolidate/subdirB/two
- two; two; /Users/mac/consolidate/subdirB/two;
- = +/Users/mac/consolidate/subdirB/two #1
- ..two /Users/mac/consolidate/subdirC/two
- two; two; /Users/mac/consolidate/subdirC/two;
- = +/Users/mac/consolidate/subdirC/two #2
- ..two /Users/mac/consolidate/two
- two; two; /Users/mac/consolidate/two;
- = +/Users/mac/consolidate/two #3
- Elapsed time in seconds since start of processing: 0 Time of this step: 0
- --> Finding possible packages/bundles and moving them to the top-level.
- find: /Users/mac/consolidate/subdirC/subdirD.app: No such file or directory
- mv: /Users/mac/consolidate/subdirE.Latest and /Users/mac/consolidate/subdirE.Latest are identical
- --> Finding files and moving them to the top-level.
- --> Deleting empty subfolders. (This only deletes folders which are completely empty.)
- Elapsed time in seconds since start of processing: 0 Time of this step: 0
- Gathering post run debug information. May take a moment. Counting files.
- Information on files and directories in folder/directory /Users/mac/consolidate
- fileCountBefore= 26; fileCountAfter= 22;
- trashDiff=4; trashCountBefore= 2480; trashCountAfter= 2484;
- ===========
- calculateFileCountAfter=26;
- DONE.
- NOTE: Invisible files and files with unresolved name conflicts may be left within any remaining subfolders!
- ./revised-consolidate-gnu-generalized.command script revised 02/12/2018 13:08:31
- Bye from Lizard 4
- mac $ ./revised-consolidate-gnu-generalized.command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement