Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.os.linux.sys > #45252

Re: Trovare e linkare, con find e ln

From Giuseppe Della Bianca <giusdbgNO@gmailNO.comNO>
Newsgroups it.comp.os.linux.sys
Subject Re: Trovare e linkare, con find e ln
Date 2024-06-29 14:53 +0000
Organization A noiseless patient Spider
Message-ID <v5p75q$3vcvb$1@dont-email.me> (permalink)
References <v5blso$t82m$1@dont-email.me>

Show all headers | View raw


Il Mon, 24 Jun 2024 11:39:04 -0000 (UTC), Lem Novantotto ha scritto:

]zac[
> Penso a:
> $ find /cercando/. -type f \( -iname "*.jpg" -o -iname "*.mp4" etc. etc.
> \) \
>> -execdir bash -c \
>> 'ln -T "$0" "/directory_dei_link/$(date +"%T:%N-")$(basename "$0")"' \
]zac[

Al di la di quello che vuoi fare esattamente, invece che usare comandi 
complessi tutto su una linea, potresti inserire dopo -exec uno script 
shell e in questo script inserire tutti i comandi che ti serve eseguire 
sui file.

Back to it.comp.os.linux.sys | Previous | NextPrevious in thread | Find similar


Thread

Trovare e linkare, con find  e ln Lem Novantotto <Lem@none.invalid> - 2024-06-24 11:39 +0000
  Re: Trovare e linkare, con find  e ln Lem Novantotto <Lem@none.invalid> - 2024-06-24 13:07 +0000
    Re: Trovare e linkare, con find  e ln Lem Novantotto <Lem@none.invalid> - 2024-06-24 13:17 +0000
  Re: Trovare e linkare, con find e ln Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2024-06-24 18:55 +0200
    Re: Trovare e linkare, con find e ln Lem Novantotto <Lem@none.invalid> - 2024-06-24 19:45 +0000
      Re: Trovare e linkare, con find e ln Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2024-06-24 21:57 +0200
        Re: Trovare e linkare, con find e ln Lem Novantotto <Lem@none.invalid> - 2024-06-24 20:33 +0000
          Re: Trovare e linkare, con find e ln Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2024-06-24 22:57 +0200
            Re: Trovare e linkare, con find e ln Lem Novantotto <Lem@none.invalid> - 2024-06-24 21:16 +0000
              Re: Trovare e linkare, con find e ln Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2024-06-25 18:45 +0200
                Re: Trovare e linkare, con find e ln Lem Novantotto <Lem@none.invalid> - 2024-06-26 10:02 +0000
                Re: Trovare e linkare, con find e ln Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2024-06-26 19:01 +0200
                Re: Trovare e linkare, con find e ln Lem Novantotto <Lem@none.invalid> - 2024-06-26 12:06 +0000
              Re: Trovare e linkare, con find e ln Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2024-06-25 19:31 +0200
  Re: Trovare e linkare, con find e ln Void <vo.id@eh.no> - 2024-06-24 22:46 +0200
    Re: Trovare e linkare, con find e ln Lem Novantotto <Lem@none.invalid> - 2024-06-24 20:58 +0000
      Re: Trovare e linkare, con find e ln Void <vo.id@eh.no> - 2024-06-25 08:39 +0200
        Re: Trovare e linkare, con find e ln Lem Novantotto <Lem@none.invalid> - 2024-06-25 09:31 +0000
          Re: Trovare e linkare, con find e ln Void <vo.id@eh.no> - 2024-06-25 16:08 +0200
            Re: Trovare e linkare, con find e ln Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2024-06-25 19:01 +0200
            Re: Trovare e linkare, con find e ln Lem Novantotto <Lem@none.invalid> - 2024-06-26 10:04 +0000
  Re: Trovare e linkare, con find  e ln Giuseppe Della Bianca <giusdbgNO@gmailNO.comNO> - 2024-06-29 14:53 +0000

csiph-web