I saved some files in
Libraries -> Documents
on windows 7 and I try to access to those files with cygwin.
Where is that folder
I've looked under
/cygdrive/c/Users/my_user/ but I don't find my files.
By default, the local "Documents" library is actually the combination of two folders - a private folder for the user and a public folder for all users on the computer. Try the following Cygwin folder paths for a hypothetical user "jdoe".
If you look in both locations, you should find all items visible in your "Documents" library. If your network policy is using document redirection, or other remote document folder techniques, then the user folder may be on a remote machine - sounds like you're using a default local folder setup though.
If for some reason your personal "Documents" path is not the default, it will be revealed by the following command. Even though this is a Windows command, it will work in the Cygwin shell.
reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Personal"
It's a bit tricky, because it's hidden in the AppData but the actual "real" path is:
And the path of the
Libraryonly is of course: