zleap,
@zleap@qoto.org avatar

Just asking here in case anyone, withj decent bash expertise can help please.

Having copied files from an old PVR (digitial video recorder thingy) we have files such as this

New:.1864-2015-May-30.20:02:17.307534.nts
New:.1864-2015-May-30.20:02:17.307534.ts
New:.1864-2015-May-30.21:00:30.091333.hmt
New:.1864-2015-May-30.21:00:30.091333.nts
New:.1864-2015-May-30.21:00:30.091333.ts

These are on my main computer hard disk, I have a 2nd that is currently FAT32 (I think) but I can't copy these files due to the characters in the filename.

Is there a easy way to take these files, and rename them so I can stripo out all but the final period (which is between '091333.ts' for example.

I am running Debian, and it wom't let me copy over to the other HDD, While I can do this manually there are LOTS of files. So there has to be a way to do this, perhaps a combination of

rename , sed or other commands.

Any pointers welcome please.

Thanks

Paul

,,,,

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Bash
  • Durango
  • magazineikmin
  • mdbf
  • thenastyranch
  • khanakhh
  • rosin
  • Youngstown
  • ethstaker
  • slotface
  • modclub
  • kavyap
  • DreamBathrooms
  • everett
  • ngwrru68w68
  • JUstTest
  • InstantRegret
  • tacticalgear
  • GTA5RPClips
  • cubers
  • normalnudes
  • osvaldo12
  • tester
  • anitta
  • cisconetworking
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines