got a number of files. some of them are blank (having no text inside, 0 bytes). Can I somehow identify these files by TP and write a certain phrase inside them?
So far it seems TP doesn't process such files at all.
Is there any way to identify a blank file by perl regex? (\A\z or smth of the kind)? Thanks.
files with no-text
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: files with no-text
You could use a perl regex of
Code: Select all
^$
-
- Posts: 22
- Joined: Tue May 12, 2015 3:57 am
Re: files with no-text
It doesn't work.
At least in search-&-perlace filter
The project demonstrating that is attached
At least in search-&-perlace filter
The project demonstrating that is attached
- Attachments
-
- no-text.rar
- (516 Bytes) Downloaded 1016 times
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: files with no-text
I've attached a work-around.
Naturally you can disable the prompt when you get it doing what you need.
Naturally you can disable the prompt when you get it doing what you need.
- Attachments
-
- detect empty file.zip
- (747 Bytes) Downloaded 831 times