Quantcast
Viewing all articles
Browse latest Browse all 2819

Having trouble copying conda environment folder containing same word (different case) files with symbolic links in terminfo subdirectory

I am using WSL1.

  • I am trying to save a copy of my ~./miniconda/envs folder to the desktop using cp .
  • I keep getting errors like " cp: cannot create regular file './envs/py_env/share/terminfo/h/hp2621a': File exists "
  • The problem is that there are 2 files with the same name but different case;(ex: hp2621a and hp2621A)

Example:

Original Folder: hp2621a, hp2621A, etc

... Using cp I get

New Folder: hp2621A, etc [missing hp2621a]

and an Error: hp2621a exists


  • Some of the subdirectories of py_env/share and py_env/lib also have a similar problem (A and a seemed to conflict)
  • I was able to solve some of these errors by changing the name of a directory from A to A_1.

Viewing all articles
Browse latest Browse all 2819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>