Spring naar de primaire inhoud
Spring naar de secundaire inhoud

RSquare

geeft antwoord.

Hoofdmenu

  • Home
  • Contact

Tag archieven: xargs

Find and replace, Vind en verander voor meerdere bestanden

Geplaatst op 14 juli 2011 door rab
Beantwoorden

Als je iets wilt veranderen in meerdere bestanden dan kan je gebruik maken van deze commando’s

perl -pi -e ‘s/find/replace/g’ *.txt

Of in meerdere directories

find . -name ‘*.txt’ |xargs perl -pi -e ‘s/find/replace/g’

Geplaatst in Linux | Getagged Linux, perl, xargs | Geef een reactie

Categorieën

  • Algorithms
  • Elasticsearch
  • Geen categorie
  • ispconfig
  • Linux
  • Lora
  • Mender
  • Revisie beheer
  • RSquare's Tux
  • Security
  • Toradex
  • VMWare
  • Wifi

Links

  • Login

Tags

  • Algoritme
  • apache
  • apt-get
  • aptitude
  • beheer
  • Cassandra
  • Debian
  • Dell
  • directadmin
  • DNSSEC
  • email
  • esx
  • Exim
  • forwarding
  • git
  • Greylist
  • hardware
  • https
  • installatie
  • iptables
  • ispconfig
  • letsencrypt
  • lighttpd
  • Linux
  • MySQL
  • netwerk
  • openvp
  • pear
  • perl
  • php
  • Pinguin
  • Postfix
  • PowerDNS
  • Raspberry pi
  • rsync
  • Secure
  • Serieel
  • ssl
  • standaarddeviatie
  • subversion
  • svn
  • Torizon
  • upgrade
  • vmware
  • Zabbix

Bitcoin Donation

If you like my work, please consider a donation
Ondersteund door WordPress