Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Delete Unix/Linux file at a specific time in future. Post 302701399 by abhi7514 on Saturday 15th of September 2012 09:31:11 PM
Old 09-15-2012
thanks guys on sharing your thoughts on the matter.
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

is there any command to delete a file which can be recovered in future.

hi all, could u plz let me know any alternative command for rm command to recover a file deleted in future. thanks --bali (2 Replies)
Discussion started by: balireddy_77
2 Replies

2. UNIX for Advanced & Expert Users

How to delete specific lines at the same time

Dear All I have a pattern which look like this: 2 20080312_10:55:35.800 Spain-Telefonica ISC 9 IAM 927535957 34670505334 f 275 COT b 700 ACM b 6577 CPG b 10726 ANM b 202195 REL f 202307 RLC :COMMA: NCI=15,FCI=2101,CPC=0A,TMR=00,USI,OFI=00: :COMMB: BCI=0214,OBI=01,ACT: :RELCAUSE:10: This... (1 Reply)
Discussion started by: zanetti321
1 Replies

3. Shell Programming and Scripting

Perl script that checks against Future time

Ok, so this may be an unusual request. But I have a certificate that expires sometime in may of 2011. Now, i have to monitor this certificate and alert when the current time is within 30 days of may 20, 2011. #!/usr/bin/perl # use Time::Local; # $sec=59; $min=59; $hours=23; $day=31;... (3 Replies)
Discussion started by: SkySmart
3 Replies

4. UNIX for Dummies Questions & Answers

ls -ltr for a future date/time stamp file

Hi When i do ls -ltr <file1> then it shows me the date and time of the file if - for whatever reason file has future date/time stamp then ls -ltr is not showing the time, it just shows only date part ... even if time is ahead by 2 hr than current time. suppose a file was copied from INDIA... (3 Replies)
Discussion started by: reldb
3 Replies

5. UNIX for Dummies Questions & Answers

Quick UNIX command to display specific lines in the middle of a file from/to specific word

This could be a really dummy question. I have a log text file. What unix command to extract line from specific string to another specific string. Is it something similar to?: more +/"string" file_name Thanks (4 Replies)
Discussion started by: aku
4 Replies

6. Shell Programming and Scripting

Count specific character of a file in each line and delete this character in a specific position

I will appreciate if you help me here in this script in Solaris Enviroment. Scenario: i have 2 files : 1) /tmp/TRANSACTIONS_DAILY_20180730.txt: 201807300000000004 201807300000000005 201807300000000006 201807300000000007 201807300000000008 2)... (10 Replies)
Discussion started by: teokon90
10 Replies
SMBDIAGNOSE(8)						    BSD System Manager's Manual 					    SMBDIAGNOSE(8)

NAME
smbdiagnose -- gather information to aid in diagnosing SMB file sharing issues SYNOPSIS
smbdiagnose -h smbdiagnose [-f path] [-s] DESCRIPTION
The smbdiagnose tool gathers system information and network traffic in order to assist Apple when investigating issues related to SMB file sharing. A great deal of information is harvested, spanning system state, system configuration, and network traffic related to SMB file sharing. What smbdiagnose Collects: o A network packet trace of SMB file sharing traffic that occurs during the time the tool is run. This packet trace may include file names and file data. It may also include the authentication exchange used to log into the SMB server. o Enhanced debug logs for the SMB server process. o If the -s option is specified, the default set of information collected by sysdiagnose(1). What smbdiagnose Doesn't Collect: o No authentication credentials are harvested from the system OPTIONS
-h Print full usage. -f path Write the diagnostic to the specified path. The default is ``~/Desktop''. -s Collect sysdiagnose(1) information. The default is not to collect sysdiagnose(1) information. EXIT STATUS
smbdiagnose exits with status 0 if there were no internal errors encountered during the diagnostic, or >0 when an error unrelated to external state occurs or unusable input is provided by the user. macOS 15 July 2016 macOS
All times are GMT -4. The time now is 09:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy