Score:0

Keep old and new files in symbolic link

in flag

i want to create a symbolic link between folder1 and folder2 : but, i want keep the file in folder2 when the file is deleted in the folder1. also, any new file in folder1 should be saved in folder2

Quentin Merlin avatar
in flag
how i can make a hard link ?
Quentin Merlin avatar
in flag
Hard Links Limitations on Linux and Unix There are some issues with hard links that can sometimes make them unsuitable. First of all, because the link is identical to the thing it points to, it becomes difficult to give a command such as “list all the contents of this directory recursively but ignore any links”. Most modern operating systems don’t allow hard links on directories to prevent endless recursion. Another drawback of hard links is that they have to be located within the same file system, and most large systems today consist of multiple file systems.
user535733 avatar
cn flag
Please explain why you don't want a hardlink *in your question above* instead of in comments. Comments are not intended for conversation -- comments are how we help you make your question answerable.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.