10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have about 1.8 million files in a directory structre, that contain a ? on the end, for example:
Is there a way to go through the testdocs folder, recursively, and remove the ? from all docs that have one on the end?
... (11 Replies)
Discussion started by: tirmUK
2. UNIX for Beginners Questions & Answers
I have been searching how to do this but I can't seem to find how to do it. Hopefully someone can help.
I have multiplr files, 100's example 12345-zxys.213423.zyz.txt. I want to be able to take all these files and remove the first '12345-' from each of the files. '12345-' these characters... (5 Replies)
Discussion started by: israr75
3. Shell Programming and Scripting
I have a multiple pipe separated files which have records going over multiple Lines. End of line separator is \n and records going over multiple lines have <CR> as separator. below is example from one file.
4| GHIJKL|400|40... (7 Replies)
Discussion started by: dJHa
4. Shell Programming and Scripting
I have an issue at work, which requires a simple solution. But, after multiple attempts, I have not been able to hit on the code needed.
I am assuming that sed, awk or even perl could do what I need.
I have an application that adds extra blank page feeds, for multiple reports, when... (7 Replies)
Discussion started by: jxfish2
5. UNIX for Dummies Questions & Answers
I would like to rename Multiple files in a Unix Directory using Ksh Command.
Eg ATT8-2011-10-01 00:00:00-MSA-IMM-SINGLE_AND_FAMILY_COVERAGE-DED-$2000-X114817.PDF
needs to be renamed as
Basically the time... (2 Replies)
Discussion started by: pchegoor
6. UNIX for Dummies Questions & Answers
Hey everyone, I have a question about comparing two files. I have two lists of files. The first list, todo.csv, lists a series of compounds my supervisor wants me to perform calculations on. The second list, done.csv, lists a series of compounds that I have already performed calculations on.... (2 Replies)
Discussion started by: Stuart Ness
7. Shell Programming and Scripting
I am in need of assistance in creating a script that will remove a specified block of text from multiple .htaccess files. (roughly 1000 files)
I am attempting to help with a project to clean up a linux server that has a series of unwanted url rewrites in place, as well as some... (4 Replies)
Discussion started by: boxx
8. Shell Programming and Scripting
Hi Guru's , I have a whole bunch of files in /var/tmp that i need to strip any blank lines from, so ive written the following script to identify the lines (which works perfectly).. but i wanted to know, how can I actually strip the identified lines from the actual source files ??
my... (11 Replies)
Discussion started by: hcclnoodles
9. UNIX for Dummies Questions & Answers
i have the files in this format
Now i have to remove the prefix pdb from all the files and also i need to change the extension of .ent to .txt
The new file should look like this
... (3 Replies)
Discussion started by: empyrean
10. Shell Programming and Scripting
How do I remove non-printable characters from all txt files and output the results to one file?
I've tried the following:
tr -cd '\n' < *.txt > out.txt
and it gives ambiguous redirect error.
How can I get it to operate on all txt files in the current directory and append the output to... (1 Reply)
Discussion started by: revax
atsutil(8) BSD System Manager's Manual atsutil(8)
atsutil -- font registration system utility
atsutil fonts [-list | -verify]
atsutil databases [-remove | -removeUser]
atsutil server [-ping | -shutdown]
atsutil tool controls some aspects of the font registration system. It may be used to modify font auto activation settings, font protection
settings, remove font registration databases and caches, or restart the font registration daemon.
fonts enumerates all fonts available to processes in the OS. It also performs a consistency check of the fonts available via font management
databases will remove fontd System or User databases along with any cache files. Removing databases may cause the loss of font registration
state: fonts activated outside the standard font directories, font faces disabled, and font libraries. New databases will be regenerated from
fonts installed the standard font directories after the user logs out, restarts, or the fontd server is restarted.
server queries the status of fontd or shutdowns the fontd. Shutting down the fontd will spawn a new fontd. Shutting down the server is NOT
recommended and will likely lead to misrendered text or application crashes.
fonts [-list | -verify]
-list lists and performs a consistency check on registered fonts.
-verify performs consistency a check on registered fonts.
databases [-remove | -removeUser]
-remove remove fontd databases for active user and system (used when no one is logged in and some background processes).
-removeUser remove fontd databases for the active user only.
server [-ping | -shutdown]
-ping query running fontd.
-shutdown shutdown fontd and spawn a new fontd. NOTE: this action is not recommended. See above.
atsutil first appeared in MacOS X 10.5.
Mac OS June 1, 2019 Mac OS