05-25-2012
Please post what Operating System and version you are running and what Shell you use.
Is the log file transfer and verification scripted? If so, then that script would be the best place to remove the source file?
I suspect that nobody has responded to this thread because there the context and criteria are too vague.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello;
I have a directory that is collecting log and act files. I need to write a script that will remove these files once they are 30 days old. I have read through a number of threads on this site that have given me a great deal of information. However I have what seems to be a unique... (7 Replies)
Discussion started by: justinb_155
7 Replies
2. Shell Programming and Scripting
I would help with removing old files from client directory and put the new files in there.............
Below code gives me wrong outout, it's supposed to delete old files from client directory ............................
am I missing anything ?
{removing *** Hash
Passive mode: off;... (2 Replies)
Discussion started by: sambakamba
2 Replies
3. UNIX for Dummies Questions & Answers
How would i rmeove all the files in the directory but still keep the directory? (5 Replies)
Discussion started by: JamieMurry
5 Replies
4. Shell Programming and Scripting
Hi,
I need a shell script to remove the files older than a week in a directoy and if necessary to zip the files. (2 Replies)
Discussion started by: sudhakaryadav
2 Replies
5. Shell Programming and Scripting
hi all,
here is the description to my problem.
input parameters: $date1 & $date2
based on the range i need to select the archived files from the archived directory and moved them in to working directory.
can u please help me in writing the code to select the multiple files based on the... (3 Replies)
Discussion started by: bbc17484
3 Replies
6. Shell Programming and Scripting
hey there folks! I cant figure out, for the life of me, how to procede in removing alll the files in my home directory that are not owned by me.
would i have to list them, but after that what do i do. or is there some way I am not aware of.
my employer heard i could script in unix, but i havent... (3 Replies)
Discussion started by: Ginkosu
3 Replies
7. Shell Programming and Scripting
hi, I have quite a bunch of files with annoyingly long filenames. I wanted to cut the range of characters from 9-18 and just retain the first 8 characters and the .extension. any suggestion how to do it. thanks much.
original filename: 20000105_20000105_20100503.nc.asc
output filename:... (4 Replies)
Discussion started by: ida1215
4 Replies
8. Emergency UNIX and Linux Support
Hi All,
I am trying to to move files from a directory to another which falls from Current day - 7 days. The files are in zipped format with dates appended on it.
Can you pls help me as this came as a immediate change before the production Release planned next week.
Pls let me know if... (11 Replies)
Discussion started by: dsfreddie
11 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I want to remove trace files in a particular directory for a specific date range. Currently i can remove based on time (e.g find /path/*.trm -mtime +1000 -exec rm {} \;). But i want to remove .trm files within a date range. E.g to remove .trm files between jan 1 2002 to April 15 2005.
... (3 Replies)
Discussion started by: dollypee
3 Replies
10. UNIX for Beginners Questions & Answers
Hi there,
I am trying to remove al letters after : character on specific columns from 10th column till 827. I used sed and cut to do so but I am sure there is better one liner someone can think of from unix community members.
Huge file but it has this structure (Total number of Columns =... (10 Replies)
Discussion started by: daashti
10 Replies
LEARN ABOUT MOJAVE
atsutil
atsutil(8) BSD System Manager's Manual atsutil(8)
NAME
atsutil -- font registration system utility
SYNOPSIS
atsutil fonts [-list | -verify]
atsutil databases [-remove | -removeUser]
atsutil server [-ping | -shutdown]
atsutil help
DESCRIPTION
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
APIs.
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.
OPTIONS
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.
SEE ALSO
fontd(8)
HISTORY
atsutil first appeared in MacOS X 10.5.
Mac OS June 1, 2019 Mac OS