iconic icon indicating copy to clipboard operation
iconic copied to clipboard

Doesn't work because of depreciated "stat" command.

Open expatbkk opened this issue 4 years ago • 3 comments

This tool has been deprecated, use 'gio info' instead.

Discovered on Debian 10.11

expatbkk avatar Feb 03 '22 04:02 expatbkk

@expatbkk I can only find the stat command being used once:

Date=$(stat -c %y "$File")

I don't think the stat command will ever be deprecated. Can you post the full error message you are getting?

pippim avatar Feb 03 '22 11:02 pippim

My environment:

user@machine:~/bin/iconic$ cat /etc/debian_version
10.11

Here the original error message (partly German):

user@machine:~/bin/iconic$ ./iconic
stat: der Aufruf von stat für '/home/user/Desktop/*' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
This tool has been deprecated, use 'gio info' instead.
See 'gio help info' for more info.

gio: file:///home/user/Desktop/*: Fehler beim Holen der Informationen für Datei »/home/user/Desktop/*«: Datei oder Verzeichnis nicht gefunden

German parts - translated below:

user@machine:~/bin/iconic$ ./iconic
stat: the call of  stat for '/home/user/Desktop/*' is not possible: File or Directory not found
This tool has been deprecated, use 'gio info' instead.
See 'gio help info' for more info.

gio: file:///home/user/Desktop/*: Error getting information for file »/home/user/Desktop/*«: File or Directory not found

Hope that helps

expatbkk avatar Feb 07 '22 09:02 expatbkk

@expatbkk I will add GIO support to the next version of iconic after Ubuntu 22.04 LTS is released. In the meantime there are other options you can check out.

pippim avatar Feb 07 '22 13:02 pippim