Sponsored Content
Top Forums Shell Programming and Scripting How to find files created today in a particular directory? Post 302663437 by sudiptabhaskar on Thursday 28th of June 2012 06:10:46 AM
Old 06-28-2012
Quote:
Originally Posted by pravin27
Code:
find /log/hira -mmin -1440

It is not working. Below is the response
***************************************
$ pwd
/log/hira
$ find /log/hira -mmin -1440
find: bad option -mmin
$

***************************************
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Find all files created by a specified user in a directory and its subdirectories

Is there a command or shell script which can be used for Finding all files created by a specified userid in a directory and its subdirectories. Say, I want to find all such files in directory /abc as well as in all the subdirectories such as /abc/xyz or /abc/xyz/pqr aqnd so on which was created... (5 Replies)
Discussion started by: abhilashnair
5 Replies

2. UNIX for Dummies Questions & Answers

To list all the files created today with directory path

Hi, Can any one tell the command to list all the files that are created as of today from all the directories? The Command "ls -ltR" is listing all the files. But I want the list of files that has been created as of today along with the directory path:) Thank you in advance.:) Regards,... (4 Replies)
Discussion started by: meetusha.b
4 Replies

3. Shell Programming and Scripting

Files with 0 file size and created today

hi, I am building a script to identify those files created/modified today and with file size 0. I am able to find the files with 0 file size and created/modified in last 24 hrs as shown below but not today (current date), I tried using (touch -t time filenm) but in my version of unix at work it... (7 Replies)
Discussion started by: rushs682
7 Replies

4. Shell Programming and Scripting

Calculate Files Created Today

I need to figure out how to get all the files from a certian dir ./123/*sat files and ./230/*sat files and several other directories which have these *sat files in them. I need to calculate how many were created today and how many yesterday from 2:00 pm on the 28th to 2pm on the 29th. It's a... (1 Reply)
Discussion started by: xgringo
1 Replies

5. Shell Programming and Scripting

Find the directory modified/created before 4 days

Hi, I have an application which creates some directories while running. I want to delete these directories which are 4 days older. i tried find . type d -mtime +1 -print And it is working fine.. but find . type d -mtime +4 -print is not giving any results which are 4 days... (6 Replies)
Discussion started by: Tuxidow
6 Replies

6. Shell Programming and Scripting

ftp - How to download files which created today?

Hello experts, I have written following script to download files which created today. Unfortunately, it's not working. test.ksh: #Defining variables USR='xxx' PASSWD='yyyy' HT='test.test.com' FILE='S*.pdf' XFILE=$(echo find . -type f -mtime 0) ZFILE=$(echo ls -tR|grep 'Jun 8')... (14 Replies)
Discussion started by: dipeshvshah
14 Replies

7. Shell Programming and Scripting

How to find the newly created directory

Hi, I need to create new directory by increasing the number by 1 of extracted lastly created directory. e.g. Log\out_log_1\ Log\out_log_2\ Log\out_log_3\ become Log\out_log_1\ Log\out_log_2\ Log\out_log_3\ Log\out_log_4\ Can anyone help how to do it in c-shell... (3 Replies)
Discussion started by: Andre_2008
3 Replies

8. AIX

How to find the date on which a particular directory is created?

how to find the date on which a particular directory is created? Thanks. (4 Replies)
Discussion started by: samsungsamsung
4 Replies

9. Linux

List all files created today exclude last one

Hi, ALL thanks in advance, i listed all files using this command ls -ltr $(date +%Y%m%d)*.xmlbut i would like to exclude the last one created ; Best regard MEROUAN Use code tags, thanks. (4 Replies)
Discussion started by: merouan
4 Replies

10. Shell Programming and Scripting

List files with date, create directory, move to the created directory

Hi all, i have a folder, with tons of files containing as following, on /my/folder/jobs/ some_name_2016-01-17-22-38-58_some name_0_0.zip.done some_name_2016-01-17-22-40-30_some name_0_0.zip.done some_name_2016-01-17-22-48-50_some name_0_0.zip.done and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies
MB_CONVERT_KANA(3)							 1							MB_CONVERT_KANA(3)

mb_convert_kana - Convert ";kana" one from another ("zen-kaku", "han-kaku" and more)

SYNOPSIS
string mb_convert_kana (string $str, [string $option = "KV"], [string $encoding = mb_internal_encoding()]) DESCRIPTION
Performs a "han-kaku" - "zen-kaku" conversion for string$str. This function is only useful for Japanese. PARAMETERS
o $str - The string being converted. o $option - The conversion option. Specify with a combination of following options. Applicable Conversion Options +-------+---------------------------------------------------+ |Option | | | | | | | Meaning | | | | +-------+---------------------------------------------------+ | | | | r | | | | | | | Convert "zen-kaku" alphabets to "han-kaku" | | | | | | | | R | | | | | | | Convert "han-kaku" alphabets to "zen-kaku" | | | | | | | | n | | | | | | | Convert "zen-kaku" numbers to "han-kaku" | | | | | | | | N | | | | | | | Convert "han-kaku" numbers to "zen-kaku" | | | | | | | | a | | | | | | | Convert "zen-kaku" alphabets and numbers to | | | "han-kaku" | | | | | | | | A | | | | | | | Convert "han-kaku" alphabets and numbers to | | | "zen-kaku" (Characters included in "a", "A" | | | options are U+0021 - U+007E excluding U+0022, | | | U+0027, U+005C, U+007E) | | | | | | | | s | | | | | | | Convert "zen-kaku" space to "han-kaku" (U+3000 | | | -> U+0020) | | | | | | | | S | | | | | | | Convert "han-kaku" space to "zen-kaku" (U+0020 | | | -> U+3000) | | | | | | | | k | | | | | | | Convert "zen-kaku kata-kana" to "han-kaku kata- | | | kana" | | | | | | | | K | | | | | | | Convert "han-kaku kata-kana" to "zen-kaku kata- | | | kana" | | | | | | | | h | | | | | | | Convert "zen-kaku hira-gana" to "han-kaku kata- | | | kana" | | | | | | | | H | | | | | | | Convert "han-kaku kata-kana" to "zen-kaku hira- | | | gana" | | | | | | | | c | | | | | | | Convert "zen-kaku kata-kana" to "zen-kaku hira- | | | gana" | | | | | | | | C | | | | | | | Convert "zen-kaku hira-gana" to "zen-kaku kata- | | | kana" | | | | | | | | V | | | | | | | Collapse voiced sound notation and convert them | | | into a character. Use with "K","H" | | | | +-------+---------------------------------------------------+ o $encoding -The $encoding parameter is the character encoding. If it is omitted, the internal character encoding value will be used. RETURN VALUES
The converted string. EXAMPLES
Example #1 mb_convert_kana(3) example <?php /* Convert all "kana" to "zen-kaku" "kata-kana" */ $str = mb_convert_kana($str, "KVC"); /* Convert "han-kaku" "kata-kana" to "zen-kaku" "kata-kana" and "zen-kaku" alpha-numeric to "han-kaku" */ $str = mb_convert_kana($str, "KVa"); ?> PHP Documentation Group MB_CONVERT_KANA(3)
All times are GMT -4. The time now is 12:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy