Tag Info

New answers tagged

1

You can use mtree for this. See www.freebsd.org/cgi/man.cgi?query=mtree&sektion=8&manpath=FreeBSD+6.3-RELEASE And code.google.com/p/mtree-port mtree -c It is very versatile.


14

The output of the tree command seems to display what you're looking for: . └── photos └── beach ├── 1.jpg -> me_and_dog.jpg └── me_and_dog.jpg Newer versions of the command will even output to HTML, XML or JSON. XML Output: <?xml version="1.0" encoding="UTF-8"?> <tree> <directory name="."> <directory ...


0

I usually just do cp -a <FILES...> <DEST_DIR>. The -a tries to preserve as many file attributes as possible (including keeping symlinks as symlinks), though there are other flags that do less, if you want more granularity.


0

Coded myself: https://gist.github.com/vi/adb4e81d2d8750d2c949 #!/bin/bash if [ -z "$2" ]; then echo "Usage: copy_with_links one_or_more_source_files target_directory/" exit 1 fi set -e f=("$@") d=${f[${#f[@]}-1]} d=$(readlink -f "$d") # remove the target directory from list of files unset f[${#f[@]}-1] for a in "${f[@]}"; do. b=$(readlink ...


0

If the programm shell be installed natively on the operating system (without any kind of virtualization), this can be done by hooking the native api. (NTCreateFile(), NTOpenFile(), RTL..()). In the hooking code the requested drive or path is translated to the wanted (D: to E:) and it looks for the application like running on a different volume. Citrix is ...


1

Solution is one of the folder in the hierarchy didnt have execute permission


1

Had the same problem, after deleting the folder with administrator privileges (it is a hidden system folder so it may be that you don't see it) i got this error message Junction v1.06 - Windows junction creator and reparse point viewer Copyright (C) 2000-2010 Mark Russinovich Sysinternals - www.sysinternals.com Error creating C:\Windows\Installer: ...


0

I found that junction points just creates a second location where files are written to and not the expected effect of moving the write location to a different place. They do move the writes. Which means, they move reads as well. So when Chromium tries to write to the old location, it actually writes to the old one – likewise, when you look in the ...


1

Try this way: find . -name "*0001*"


0

It looks like SVN 1.8 stopped working with symbolic links. Earlier version of SVN could help with these, if that's an option. As a workaround, if the symbolic link leads to a folder that contains only other subfolders, you can perform svn operations in the symlink subfolders (that are not symbolic links) just fine.


0

Forgive me if a misunderstand the question, but is 'rsync' an option to get the directories in sync and THEN recreating the symlink you want?



Top 50 recent answers are included