Skip to content

Save sketch recreate the sketch file and break the hard link #8535

Open
@45gfg9

Description

@45gfg9

OS: macOS 10.14.6
IDE: 1.8.10
We create a hard link to a sketch:

$ ln ~/Documents/Arduino/test/test.ino ~
$ ls -li ~/Documents/Arduino/test/test.ino ~/test.ino
12898678091 -rw-r--r--  2 45gfg9  staff  225  2 14 13:21 /Users/45gfg9/Documents/Arduino/test/test.ino
12898678091 -rw-r--r--  2 45gfg9  staff  225  2 14 13:21 /Users/45gfg9/test.ino

Go to IDE and change the sketch, then

$ ls -li ~/Documents/Arduino/test/test.ino ~/test.ino
12898678261 -rw-r--r--  1 45gfg9  staff  221  2 14 13:23 /Users/45gfg9/Documents/Arduino/test/test.ino
12898678091 -rw-r--r--  1 45gfg9  staff  225  2 14 13:21 /Users/45gfg9/test.ino

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions