Pas de souci. :) C'est vrai que c'est puissant si on prend le temps de s'y consacrer (parce-que ce n'est pas toujours simple.) Même c'était aussi limité que du DOS, le fait d'avoir les redirections et le tube en plus est un vrai plus.
Je viens de penser à un truc : vu que ton rsync n'accepte pas l'option --files-from= ; on peut peut-être tricher en faisant une indirection de fichier ? (attention, bash/ksh/zsh etc. mais ça ne fonctionne pas forcément avec tous les shells)
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Il me semble que c'est serveur et non distrib…
Mais les langues polies disent garçon au lieu de serveur…
Mais ces langues polies iraient-elles jusqu'à dire vieux gars ?
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Pour comparer au mail, il ne faut pas comparer à la lettre d'information que tu reçois mais au groupe de discussion …où de la même façon que tu ne vas pas pouvoir trier ce que tu lis sur r/trucmuche, tu ne trie pas au départ ce qui t'arrive du groupe trucmuche@bidule ou la timeline (et de l'expérience que j'avais, c'est pareil chez l'oisillon bleuté) Et là, en vrai, au niveau de la messagerie tu peux faire des filtres pour automatiquement mettre au trou noir des expéditeurs/expéditrices ou des mots-clefs dans les sujets ; pareil tu peux préférer des topics et bloquer des users qui te polluent. Ceci dit, tu peux choisir de ne pas afficher le tout venant de la fédération, mais seulement le tout venant de ton instance (de l'intérêt à faire un choix en accord avec ses principes) ou juste les personnes auxquelles t'es abonné-e (solution plus radicale que je n'avais pas trouvé sur tw.tt.r) Et c'est là où je suis d'accord avec toi que c'est très important la timeline coconstruite, pour le meilleur et pour le pire.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Le genre de sites que je quitte illico.
Je me demande si on ne devrait pas se constituer une liste noire de ce genre de sites et mette en place une extension pour interdire tout clic vers ce genre de bouse.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Combien de site je quitte directement quand je vois qu'ils sont de cet acabit…
Il faudrait qu'on soit plus nombreux. Parce-que :
On se croirait revenu vers l'an 2000 quand les gens encaissaient les plantages et autres vérolages de leur windows parce que « c'est comme ça, pas le choix ! »
Tant que le crime paiera ça n'ira pas en s'améliorant.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Personnellement, je préfère un patron qui fait faire des profits, même s'il se paye bien, et donc qui versera de bons salaires et de la participation, à un mauvais patron qui mène la boîte à la banqueroute et les salariés au chômage, question de goût.
J'en ai rêvé aussi. Au réveil, c'était de mauvais patrons qui coulent la boîte en se payant bien et étant de surcroit remerciés pour leur anti performances.
Ce que je n'aime pas c'est le "haro sur les riches". Préfèrez-vous les boîtes qui marchent mal ? à croire que oui.
Ah les parachutes dorées ont encore de beaux jours. Moi ce que je n'aime pas c'est de ne pas être riche aussi tout en m'usant plus au travail.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Il semblerait que j'ai un linux basic light d'installé et c'est surement pour cela que les options de rsync --files-from= ne fonctionne pas je pense.
Oui, les NAS fournissent une CLI vraiment très légère (en général BusyBox) ; mais ce n'est pas lié. La commande, pour ton système, a juste été compilé sans certaines options et il est juste bon de le savoir pour pouvoir adapter.
Dans le cas présent, on comprend mieux pourquoi tu veux enchaîner les deux commandes, et du coup je pense que xarg est la bonne piste. Mais pour cela, il vaut mieux terminer la recherche par -print0 (par défaut, quand rien n'est spécifié, on fait un -print tout court) et non -exec ; et de l'autre côté avoir l'option -0 ; bref
find . -print0 -name … | xargs -0 …
Ce que je vois dans /opt/bin/find ce sont les commandes supplémentaires installées par exemple find@ et xargs@ mais je ne vois pas de rsync@ installé,
Comme je suppose que tu utilises Bash, tu peux utiliser type rsync pour savoir ce que ton shell exécute (il te dira si c'est un alias, ou si c'est une commande laquelle du path il prend —ce qui est utile aussi quand on a plusieurs binaires portant le même nom.)
Dans tous les cas, tu peux utiliser command -v rsync qui t'indiquera le premier binaire disponible dans ton PATH.
Le @ à la fin des commandes indique juste que ce sont des liens symboliques : je pense que le déballage de BusyBox a été fait dans ce répertoire car /opt/bin apparait quand tu fais
echo$PATH
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Je pense que cela vient de mon "linux".
Je suis sur un NAS Qnap TS 219 installé depuis quelques années déjà
Info importante qu'il manque dans le message initial. :) Ce ne sont pas des distributions GNU/Linux et les systèmes de ces NAS ne prétendent pas être des Linux… En fait ça utilise un noyau Linux et un BusyBox en général.
Du coup, je comprends mieux :
J'ai testé et en gros rien ne fonctionne en l'état.
BusyBox ne connait pas l'option -h ; il faudra utiliser juste time tout court. C'était pour voir laquelle des deux est plus optimale ; mais il y avait malheureusement une erreur dans ma seconde commande…
Pour la première, je crois me souvenir que le filtre -name ne prend pas en compte les répertoires dans l'expansion ; raison pour laquelle j'avais voulu bien séparer les parties par / mais probablement à peaufiner.
Pour la seconde, le filtre est -regexp sinon ça ne trouvera effectivement pas.
time find . -name "22_11_??/*7964.vce" -maxdepth 5 -print > liste1.txt
time find . -regexp "22_11_../.*/7964.vce" -maxdepth 5 -ok > liste2.txt
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Dans les listes en haut, je sélectionne Français comme langue ;
À gauche, je clique sur Europe comme région, puis en dessous General comme sujet ;
y en a que quatre.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Je ne parlais pas de la facilité de décryptage mais du temps et des moyens mis en œuvre habituellement pour accéder aux données du téléphone (non chiffré, précisons). On parie quoi que maintenant ce sera toujours « susceptible d'être en rapport avec un crime ou un délit » ?
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Il y a effectivement peu de machines big endian. Mais je ne suis pas près à parier que ça sera toujours le cas.
Y en a peu, mais ça existe. Et puis je suppose que tu veux pouvoir être porté sur des archis qui sont probablement un peu anciennes.
Mais ça me permet de gérer l'endianness et de me passer du padding au passage.
Après, j'ai envie de dire que c'est de la data et que tu peux fixer le format de ton archive, c'est indépendant de celle de l'architecture sur laquelle le programme va tourner : y a des formats d'images et vidéo (et peut-être audio) qui sont en grand bouthistes…
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Dans le cas présent tu ne connais même pas le passphrase :( (comme dit dans un autre commentaire, c'est généré aléatoirement et mis dans un/une fichier/conf inconnu/e.)
Ou alors on va me dire qu'on fait l'erreur d'utiliser le même pour pour tout ? (en supposant que le code de verrouillage soit aussi le passphrase)
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Voilà. Ça prend du temps, mais on fait comme si c'est impossible… Bon c'est vrai que quand c'est chiffré elle l'a dans l'os mais là on ne va même plus démontrer que ça l'est mais juste partir du principe que ça l'est, et ça me chiffonne.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
C'est embêtant je trouve. J'aime pas les choses faites dans mon dos, même pour mon bien ; et je connais toutes mes clés de chiffrement (ce qui n'est pas le cas avec ce genre d'appareils qui imitent ifone)
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: questions
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Problème sur enchainement de commandes find et rsync. Évalué à 2.
Pas de souci. :) C'est vrai que c'est puissant si on prend le temps de s'y consacrer (parce-que ce n'est pas toujours simple.) Même c'était aussi limité que du DOS, le fait d'avoir les redirections et le tube en plus est un vrai plus.
Je viens de penser à un truc : vu que ton
rsync
n'accepte pas l'option--files-from=
; on peut peut-être tricher en faisant une indirection de fichier ? (attention, bash/ksh/zsh etc. mais ça ne fonctionne pas forcément avec tous les shells)“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Arguments en vrac
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Pourquoi cette passion française pour les ESN?. Évalué à 1.
Du coup :
Les prestas sont arrivés et cela a démotivé les internes ?
Ou les prestas se sont démotivés parce que les internes les ont pourri ?
Vous avez 3H.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Mode Académie française dire/ne pas dire
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message vieille distrib pour vieux binaire. Évalué à 2.
Il me semble que c'est serveur et non distrib…
Mais les langues polies disent garçon au lieu de serveur…
Mais ces langues polies iraient-elles jusqu'à dire vieux gars ?
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Concernant la censure
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Mastodonte contre oiseau bleu : bouquet de liens. Évalué à 2.
Pour comparer au mail, il ne faut pas comparer à la lettre d'information que tu reçois mais au groupe de discussion …où de la même façon que tu ne vas pas pouvoir trier ce que tu lis sur r/trucmuche, tu ne trie pas au départ ce qui t'arrive du groupe trucmuche@bidule ou la timeline (et de l'expérience que j'avais, c'est pareil chez l'oisillon bleuté) Et là, en vrai, au niveau de la messagerie tu peux faire des filtres pour automatiquement mettre au trou noir des expéditeurs/expéditrices ou des mots-clefs dans les sujets ; pareil tu peux préférer des topics et bloquer des users qui te polluent. Ceci dit, tu peux choisir de ne pas afficher le tout venant de la fédération, mais seulement le tout venant de ton instance (de l'intérêt à faire un choix en accord avec ses principes) ou juste les personnes auxquelles t'es abonné-e (solution plus radicale que je n'avais pas trouvé sur tw.tt.r) Et c'est là où je suis d'accord avec toi que c'est très important la timeline coconstruite, pour le meilleur et pour le pire.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Mode Académie française dire/ne pas dire
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message vieille distrib pour vieux binaire. Évalué à 2.
coff coff (G tousse)
out (oust, G est dehors)
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Triste réalité
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Merci LinuxFR d'avoir gardé un design simple, clair, et efficace. Évalué à 6.
Le genre de sites que je quitte illico.
Je me demande si on ne devrait pas se constituer une liste noire de ce genre de sites et mette en place une extension pour interdire tout clic vers ce genre de bouse.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: C'est tellement ça...
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Merci LinuxFR d'avoir gardé un design simple, clair, et efficace. Évalué à 4.
Il faudrait qu'on soit plus nombreux. Parce-que :
Tant que le crime paiera ça n'ira pas en s'améliorant.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
# c'est plus du jeu
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien If you die in the game, you die in real life. Évalué à 2.
Si ?
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Fin du secret commercial
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal La première procédure bâillon au nom du secret des affaires, c'est pour Reflets.info. Évalué à 1.
J'en ai rêvé aussi. Au réveil, c'était de mauvais patrons qui coulent la boîte en se payant bien et étant de surcroit remerciés pour leur anti performances.
Ah les parachutes dorées ont encore de beaux jours. Moi ce que je n'aime pas c'est de ne pas être riche aussi tout en m'usant plus au travail.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: questions
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Problème sur enchainement de commandes find et rsync. Évalué à 1.
Encore une erreur pour la seconde : c'est
-print
et non-ok
qui attend un argument et est similaire à-exec
Pfff, faut que je dorme moi.“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: questions
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Problème sur enchainement de commandes find et rsync. Évalué à 3.
Oui, les NAS fournissent une CLI vraiment très légère (en général BusyBox) ; mais ce n'est pas lié. La commande, pour ton système, a juste été compilé sans certaines options et il est juste bon de le savoir pour pouvoir adapter.
Dans le cas présent, on comprend mieux pourquoi tu veux enchaîner les deux commandes, et du coup je pense que
xarg
est la bonne piste. Mais pour cela, il vaut mieux terminer la recherche par-print0
(par défaut, quand rien n'est spécifié, on fait un-print
tout court) et non-exec
; et de l'autre côté avoir l'option-0
; brefComme je suppose que tu utilises Bash, tu peux utiliser
type rsync
pour savoir ce que ton shell exécute (il te dira si c'est un alias, ou si c'est une commande laquelle du path il prend —ce qui est utile aussi quand on a plusieurs binaires portant le même nom.)Dans tous les cas, tu peux utiliser
command -v rsync
qui t'indiquera le premier binaire disponible dans ton PATH.Le
@
à la fin des commandes indique juste que ce sont des liens symboliques : je pense que le déballage de BusyBox a été fait dans ce répertoire car/opt/bin
apparait quand tu fais“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: questions
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Problème sur enchainement de commandes find et rsync. Évalué à 3. Dernière modification le 10 novembre 2022 à 01:18.
Bonjour,
Info importante qu'il manque dans le message initial. :) Ce ne sont pas des distributions GNU/Linux et les systèmes de ces NAS ne prétendent pas être des Linux… En fait ça utilise un noyau Linux et un BusyBox en général.
Du coup, je comprends mieux :
BusyBox ne connait pas l'option
-h
; il faudra utiliser justetime
tout court. C'était pour voir laquelle des deux est plus optimale ; mais il y avait malheureusement une erreur dans ma seconde commande…Pour la première, je crois me souvenir que le filtre
-name
ne prend pas en compte les répertoires dans l'expansion ; raison pour laquelle j'avais voulu bien séparer les parties par/
mais probablement à peaufiner.Pour la seconde, le filtre est
-regexp
sinon ça ne trouvera effectivement pas.“It is seldom that liberty of any kind is lost all at once.” ― David Hume
# questions
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Problème sur enchainement de commandes find et rsync. Évalué à 6.
Par curiosité, que te donne ceci ?
Ensuite, pourquoi ne veux-tu pas faire un fichier que lirait
rsync
ensuite ?“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: on n'est pas sorti de l'auberge…
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Le refus de communiquer le code de déverrouillage d’un téléphone portable peut constituer un délit. Évalué à 2.
Je trouve que c'est bien mieux que chez mahikeulbody
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Michu-friendly?
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Sur France-Info: comment utiliser le réseau social Mastodon. Évalué à 2.
Dans les listes en haut, je sélectionne Français comme langue ;
À gauche, je clique sur Europe comme région, puis en dessous General comme sujet ;
y en a que quatre.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: on n'est pas sorti de l'auberge…
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Le refus de communiquer le code de déverrouillage d’un téléphone portable peut constituer un délit. Évalué à 2.
Je ne parlais pas de la facilité de décryptage mais du temps et des moyens mis en œuvre habituellement pour accéder aux données du téléphone (non chiffré, précisons). On parie quoi que maintenant ce sera toujours « susceptible d'être en rapport avec un crime ou un délit » ?
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Arguments en vrac
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Pourquoi cette passion française pour les ESN?. Évalué à 5.
En France, c'est hélas vu comme un « centre de coûts » partout où je suis passé. Mais je radote.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Ressemble beaucoup à Frost
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse à la dépêche Jubako et Arx, un conteneur universel et son format d’archive. Évalué à 2.
Y en a peu, mais ça existe. Et puis je suppose que tu veux pouvoir être porté sur des archis qui sont probablement un peu anciennes.
Après, j'ai envie de dire que c'est de la data et que tu peux fixer le format de ton archive, c'est indépendant de celle de l'architecture sur laquelle le programme va tourner : y a des formats d'images et vidéo (et peut-être audio) qui sont en grand bouthistes…
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Ressemble beaucoup à Frost
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse à la dépêche Jubako et Arx, un conteneur universel et son format d’archive. Évalué à 2.
Ça dépend… Même machine, mais je suppose des partitions différentes ?
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Ressemble beaucoup à Frost
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse à la dépêche Jubako et Arx, un conteneur universel et son format d’archive. Évalué à 2. Dernière modification le 08 novembre 2022 à 15:15.
Merci beaucoup pour ce retour complet. À mettre quelque part sur le site officiel.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: on n'est pas sorti de l'auberge…
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Le refus de communiquer le code de déverrouillage d’un téléphone portable peut constituer un délit. Évalué à 1.
Dans le cas présent tu ne connais même pas le passphrase :( (comme dit dans un autre commentaire, c'est généré aléatoirement et mis dans un/une fichier/conf inconnu/e.)
Ou alors on va me dire qu'on fait l'erreur d'utiliser le même pour pour tout ? (en supposant que le code de verrouillage soit aussi le passphrase)
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: on n'est pas sorti de l'auberge…
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Le refus de communiquer le code de déverrouillage d’un téléphone portable peut constituer un délit. Évalué à 1.
Voilà. Ça prend du temps, mais on fait comme si c'est impossible… Bon c'est vrai que quand c'est chiffré elle l'a dans l'os mais là on ne va même plus démontrer que ça l'est mais juste partir du principe que ça l'est, et ça me chiffonne.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Edition de l'article ?
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal cTypes + Rust = approfondir une relation d'amour et d'eau (fraîche) . Évalué à 3.
Tu dois malheureusement faire tes demandes en commentaires sous l'article et attendre que la modération passe par là.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: on n'est pas sorti de l'auberge…
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Le refus de communiquer le code de déverrouillage d’un téléphone portable peut constituer un délit. Évalué à -2.
C'est embêtant je trouve. J'aime pas les choses faites dans mon dos, même pour mon bien ; et je connais toutes mes clés de chiffrement (ce qui n'est pas le cas avec ce genre d'appareils qui imitent ifone)
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: on n'est pas sorti de l'auberge…
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Le refus de communiquer le code de déverrouillage d’un téléphone portable peut constituer un délit. Évalué à 2.
En pratique c'est juste la porte ouverte pour que ça parte en vrille, mais on peut se voiler la face.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume