Sponsored Content
Top Forums Shell Programming and Scripting UNIX cmd -find empty files in folder else sleep for 8hrs Post 302935120 by bluestarmoon on Thursday 12th of February 2015 05:33:58 PM
Old 02-12-2015
Thank You everyone, My problem is solved , If cmd worked for me.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Suppres error message when moving files from empty source folder

Hi, I would like to write a shell script that moves files from one folder to another without retrieving the error 'can not acces/find file or folder' when the source folder is empty. Any ideas, Thx in advance, Steven. (2 Replies)
Discussion started by: Steven
2 Replies

2. UNIX for Dummies Questions & Answers

move files from folder thats are not empty

Hi, I would like to write a shell script that moves files from one folder to another without retrieving the error 'can not find file or folder' when the folder is empty. Any ideas, Thx in advance, Steven. (8 Replies)
Discussion started by: Steven
8 Replies

3. UNIX for Dummies Questions & Answers

How to find files not empty?

Is there any way, we can find files not empty? I know one can find empty files by using find with -size is equalled to 0. Please let me know, how I can find files greater than 0 or any other size in number? (2 Replies)
Discussion started by: videsh77
2 Replies

4. Shell Programming and Scripting

using find cmd to find certain files

i have a list of files below: rwxrwxrwx 1 pipe pipe 180 Mar 4 22:47 del_0n_Date -rwxrwxrwx 1 pipe pipe 472 Mar 4 22:58 mail_Check -rw-r--r-- 1 pipe pipe 92 Mar 4 22:58 minfo.txt -rwxrwxrwx 1 pipe pipe 609 Mar 5 05:12... (6 Replies)
Discussion started by: ali560045
6 Replies

5. Shell Programming and Scripting

Find all text files in folder and then copy to a new folder

Hi all, *I use Uwin and Cygwin emulator. I´m trying to search for all text files in the current folder (C/Files) and its sub folders using find -depth -name "*.txt" The above command worked for me, but now I would like to copy all found text files to a new folder (C/Files/Text) with ... (4 Replies)
Discussion started by: cgkmal
4 Replies

6. Shell Programming and Scripting

Unix cmd prompt how to get old cmd run?

Hi, I am using SunOS I want to serch my previous command from unix prompt (like on AIX we can search by ESC -k) how to get in SunOs urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies

7. Homework & Coursework Questions

Find and delete empty files and directories

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Need to make a script, to remove all empty files and folders from current category. It also should show the name... (2 Replies)
Discussion started by: Itixop
2 Replies

8. Shell Programming and Scripting

How to find empty files in a directory and write their file names in a text?

I need to find empty files in a directory and write them into a text file. Directory will contain old files as well, i need to get the empty files for the last one hour only. (1 Reply)
Discussion started by: vel4ever
1 Replies

9. Shell Programming and Scripting

problem with sleep cmd in execution of cron...

I am scheduling a task at regular intervals at seconds acuracy using crond and sleep command . my data in crontab file is as below:- the above line is working fine when we are creating this crontab file before 00:05 min . But when we are creating the crontab file at 00:05min , unable to... (10 Replies)
Discussion started by: manoj424
10 Replies

10. UNIX for Dummies Questions & Answers

UNIX one line cmd join 2 sets of data from 2 files

Hi all, This is my first and undoubtedly many posts to come. I'm new to using unix and would like a hand with this problem I have. What i'm trying to do is match 2 sets of data from 2 files and put result into file 3. Sounds simply but there is a catch, the match is a "partial field" match, if... (2 Replies)
Discussion started by: tugar
2 Replies
LATEXREVISE(1)						User Contributed Perl Documentation					    LATEXREVISE(1)

NAME
latexrevise - selectively remove markup and text from latexdiff output SYNOPSIS
latexrevise [ OPTIONS ] [ diff.tex ] > revised.tex DESCRIPTION
latexrevise reads a file "diff.tex" (output of latexdiff), and remove the markup commands. If no filename is given the input is read from standard input. The command can be used in ACCEPT, DECLINE, or SIMPLIFY mode, or can be used to remove user-defined latex commands from the input (see -c, -e, -m, and -n below). In ACCEPT mode, all appended text fragments (or preamble lines) are kept, and all discarded text fragments (or preamble lines) are deleted. In DECLINE mode, all discarded text fragments are kept, and all appended text fragments are deleted. If you wish to keep some changes, edit the diff.tex file in advance, and manually remove those tokens which would otherwise be deleted. Note that latexrevise only pays attention to the "DIFaddbegin", "DIFaddend", "DIFdelbegin", and "DIFdelend" tokens and corresponding FL varieties. All "DIFadd" and "DIFdel" commands (but not their contents) are simply deleted. The commands added by latexdiff to the preamble are also removed. In SIMPLIFY mode, "DIFaddbegin, DIFaddend, DIFdelbegin, DIFdelend" tokens and their corresponding "FL" varieties are kept but all other markup (e.g. "DIFadd" and <DIFdel>) is removed. The result will not in general be valid latex-code but it will be easier to read and edit in preparation for a subsequent run in ACCEPT or DECLINE mode. In SIMPLIFY mode the preamble is left unmodified. OPTIONS
-a or --accept Run in ACCEPT mode (delete all blocks marked by "DIFdelbegin" and "DIFdelend"). -d or --decline Run in DECLINE mode (delete all blocks marked by "DIFaddbegin" and "DIFaddend"). -s or --simplify Run in SIMPLIFY mode (Keep all "DIFaddbegin", "DIFaddend", "DIFdelbegin", "DIFdelend" tokens, but remove all other latexdiff markup from body). Note that the three mode options are mutually exclusive. If no mode option is given, latexrevise simply removes user annotations and markup according to the following four options. -c cmd or --comment=cmd Remove "cmd{...}" sequences. "cmd" is supposed to mark some explicit anotations which should be removed from the file before release. -e envir or --comment-environment=envir Remove explicit annotation environments from the text, i.e. remove egin{envir} ... end{envir} blocks. -m cmd or --markup=cmd Remove the markup command "cmd" but leave its argument, i.e. turn "cmd{abc}" into "abc". -n envir or --markup-environment=envir Similarly, remove "egin{envir}" and "end{envir}" commands but leave content of the environment in the text. -V or --verbose Verbose output -q or --no-warnings Do not warn users about "DIDadd{..}" or "DIFdel{..}" statements which should have been removed already. BUGS
The current version is a beta version which has not yet been extensively tested, but worked fine locally. Please send bug reports to tilmann@esc.cam.ac.uk. Include the serial number of latexrevise (from comments at the top of the source). If you come across latexdiff output which is not processed correctly by latexrevise please include the problem file as well as the old and new files on which it is based, ideally edited to only contain the offending passage as long as that still reproduces the problem. latexrevise gets confused by commented "egin{document}" or "end{document}" statements SEE ALSO
latexdiff PORTABILITY
latexrevise does not make use of external commands and thus should run on any platform supporting PERL v5 or higher. AUTHOR
Copyright (C) 2004 Frederik Tilmann This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 perl v5.14.2 2007-09-29 LATEXREVISE(1)
All times are GMT -4. The time now is 12:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy