There is any way to check if a directory is already symlinked, without
controlling every symlink viewing the link? That is a bit time
consuming, due I've two or three directory that can have a new symlink,
but I've to check on a list of 20-3 symlinks to delete it and avoid
duplicates...
-
Il 26/07/20 15:19, Barry ha scritto:
No. None.
Sob :-) But thanks for confirm.
Don’t you have control of the code that is adding the symlinks?
No, so I must traverse the directories where symlinks are, to
deduplicate them. There are some modes to minimize the work, but that
way could be
Il 26/07/20 20:39, Dennis Lee Bieber ha scritto:
Since symbolic links are essentially just short files containing the
path to the eventual target file/directory, with an OS flag that the file
is a link
Yes, I use them massively to give to a lot of directories a kind of
order, depending on the
Il 26/07/20 22:47, dn ha scritto:
Thus, compare the results of the two calls to detect a difference.
I will try also another way, If I don't err symlinks and original
directory have the same inode number (I talk about Linux, where I'm
using the application). I've a lot of directories like t
Il 28/07/20 00:19, Grant Edwards ha scritto:
You err.
I read it, I had to test. In effects, it was simple to test.
me@debsrv:~/tmp/test$ ln -s /home/me/mydir aaa
me@debsrv:~/tmp/test$ ln -s /home/me/mydir bbb
me@debsrv:~/tmp/test$ ls
aaa bbb
me@debsrv:~/tmp/test$ stat --format=%i /home/me/
Il 28/07/20 02:50, Dennis Lee Bieber ha scritto:
inode numbers apply for HARD LINKS
Thanks
--
Pastrano
con un altro account
--
https://mail.python.org/mailman/listinfo/python-list
Il 27/07/20 20:37, Chris Angelico ha scritto:
Unfortunately there's no real way to shortcut this if you just want to
check one target directory. You'd still have to readlink() every
symlink to try to find them.
Sorry for 10 days of delay (hardware problems at home). Yes, that is.
It's a mode
Hi. I've on file, containing multiple lines, and I need to change every
occurrence of a sequence between two chars, in this case "%%".
-- original
This is the %%text that i must modify%%, on a line, %%but also
on the others%% that are following
I need to change to
-- desidered
This is the text
Il 03/09/20 16:10, Termoregolato wrote:
I need to change every occurrence of a sequence between two chars
Thanks to all for your replies, it's time to learn regular expressions,
but now I've some valid pointers from you.
The work I must do here, to explain, is to get some mark
Il 03/09/20 22:16, Chris Angelico ha scritto:
Hmm. Have you considered using CSS to do this? Markdown is generally
fairly easy to style with CSS.
Yes, infact these are files where I'll insert a tag (in the example
, to show the errors find at a second revision due they are of
another kind, b
10 matches
Mail list logo