User Tools

Site Tools


wiki:software:winccdt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:software:winccdt [2019/08/24 16:30]
dizwell
wiki:software:winccdt [2019/10/05 15:20] (current)
dizwell
Line 40: Line 40:
 Also note that the "​make"​ command will take an extremely long time to run (20 minutes on my i7 laptop). Just be patient and let it complete in its own good time. Also note that the "​make"​ command will take an extremely long time to run (20 minutes on my i7 laptop). Just be patient and let it complete in its own good time.
  
-4. Download CCDT in Windows by clicking [[https://www.dizwell.com/lib/exe/​fetch.php?​media=wiki:software:​ccdr:​code:​ccdt.sh|this link]]. Save it to somewhere standard, such as your Downloads directory.+4. Edit the /etc/fstab so that it mounts your music folder with a '​noacl'​ attributeBy default, Cygwin'​s ​/etc/fstab will contain a line like this:
  
-5. In Cygwin, copy the ccdt.sh from the Windows directory you saved it in to the Cygwin /bin directory and make it executable. For example:+  none /cygdrive cygdrive binary,​posix=0,​user 0 0 
 +   
 +You need to **add** an additional line to that file that reads something like: 
 + 
 +  D:​\Music\classical /music ntfs binary,​noacl,​posix=0,​user 0 0 
 + 
 +In this example, I've said that all my classical music flac files are stored on the D: drive, in the Music\classical sub-directory. I'm saying to mount that at Cygwin'​s "/​music"​ folder -which needs to exist (and can be made to exist with a simple **mkdir /music** issued at the Cygwin command prompt beforehand). Then I mention that the source folder is formatted with the NTFS file system. And then I mention the crucial mounting options, chief amongst which (for these purposes) is the "​noacl"​ one. 
 +   
 +Without the '​noacl'​ option, Cygwin will attempt to set its own security on files stored on that mountpoint which Windows will expect to be using //​it'​s//​ security model -and the incompatibilities thus introduced can make files impossible to edit or access meaningfully. ​ **With** the noacl option, only the Windows security model is used, which Cygwin can work with, without introducing unnecessary complexities. 
 + 
 +Note that after having changed the Cygwin /etc/fstab in this fashion, you are best advised to reboot your entire PC to make sure the correct mount options take effect. Once you have rebooted, your Windows music folder will be automatically mounted under Cygwin'​s /music directory. All modifications to music files should then take place within that /music context. 
 + 
 +5. Download CCDT in Windows by clicking [[https://​www.dizwell.com/​lib/​exe/​fetch.php?​media=wiki:​software:​ccdr:​code:​ccdt.sh|this link]]. Save it to somewhere standard, such as your Downloads directory. 
 + 
 +6. In Cygwin, copy the ccdt.sh from the Windows directory you saved it in to the Cygwin /bin directory and make it executable. For example:
  
   cd /bin   cd /bin
Line 51: Line 65:
 (The last command there creates a shortcut to the shell script that lacks the "​.sh"​ extension. It's there so you can run the script just by typing "​ccdt"​ instead of "​ccdt.sh"​. It's optional.) (The last command there creates a shortcut to the shell script that lacks the "​.sh"​ extension. It's there so you can run the script just by typing "​ccdt"​ instead of "​ccdt.sh"​. It's optional.)
  
-6. In Cygwin, move to a directory that contains some flac files and invoke the script. For example, if you've got some flacs in your Windows'​ Music directory, you'd type:+7. In Cygwin, move to a directory that contains some flac files and invoke the script. For example, if you've got some flacs in your Windows'​ Music directory, you'd type:
  
   cd /​cygdrive/​c/​Users/​hjr/​Music   cd /​cygdrive/​c/​Users/​hjr/​Music
Line 77: Line 91:
 If much of the above was gobbledygook to you, fear not! A much longer version of the process is documented, in depth and at length, complete with lots of screenshots [[wiki:​software:​winccdtlong|in this article]], so please go read that and follow the steps explained there in great detail. If much of the above was gobbledygook to you, fear not! A much longer version of the process is documented, in depth and at length, complete with lots of screenshots [[wiki:​software:​winccdtlong|in this article]], so please go read that and follow the steps explained there in great detail.
   ​   ​
-  ​ 
-  ​ 
-  ​ 
- 
- 
- 
wiki/software/winccdt.1566664213.txt.gz · Last modified: 2019/08/24 16:30 by dizwell