02-20-2003
I can't reproduce that error message. What do the following commands give you:
ls -ld / /dir2 /dir2/file5
df -g /dir2
df -g /dir2/file5
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Happy 2002.
Now I am actually encountering a problem.
Suppose I have a file which I can see has been named as -rw-rwx or .rwxrw-- .
when I try to move this file I am unable to do so.
Can someone please help me , How can i get rid of the file.
Thanks in advance .
:confused: (3 Replies)
Discussion started by: rooh
3 Replies
2. Shell Programming and Scripting
I'm trying to write a script that will look in an /exports folder for the oldest export file and move it to a /staging folder. "Oldest" in this case is actually determined by date information embedded in the file names themselves.
Also, the script should only move a file from /exports to... (6 Replies)
Discussion started by: nikosey
6 Replies
3. UNIX for Dummies Questions & Answers
i have created file in one of the folders on unix
UNIX 's36tou -T XYZ /tmp/p400/dataout/ias/AB >/dev/null
I am using above command to copy file from one system to unix
XYZ is name of file on my system usually this name is very big so i use -T to trim some charaters from name.
noe... (1 Reply)
Discussion started by: ajit.yadav83
1 Replies
4. Shell Programming and Scripting
Hi ,
Please help with the following questions
1) how can i find size of a file ? i have written du -k $flname > s1 . Is this right ?
Any other better suggeastions ?
2) how do I use mv command for moving the file ? I need the syntax with some examples
3) Command for printing the total... (1 Reply)
Discussion started by: Learning!
1 Replies
5. Shell Programming and Scripting
Hello ALL, i hope everyone is fine here.
I have found some directories that have 777 permission with below command.
find ./ -type d -perm 0777
e/uploads/
e/uploads/s1
j/uploads/
j/uploads/s1
I want that if there is any php|html|css file found in above directory so move those... (4 Replies)
Discussion started by: learnbash
4 Replies
6. UNIX for Dummies Questions & Answers
Suppose there is a file Text1.txt which contains 100 lines. I need to move 1st 25 line into another file Text2.txt How we can do it?
Suppose there is a file Text1.txt in which city: Bangalore is repeating N times. I need to replace Bangalore with Delhi. How we can do... (1 Reply)
Discussion started by: Rajesh1412
1 Replies
7. UNIX for Advanced & Expert Users
Need help on moving .csv file from unix to windows file path. (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Before moving the files from source directory to target directory I need to check if the files have these strings 'Error', 'Not Valid' ,' YTF-' or if the file is a zero byte file, if the file contains these strings or if it is a zero byte file i should log a entry in the log file and fail... (5 Replies)
Discussion started by: gaur.deepti
5 Replies
9. UNIX for Dummies Questions & Answers
Hello,
This is my first post, so please forgive my obvious lack of UNIX knowledge. I am trying/needing to write a script that follows this functional flow:
1. Access a config file that contains format:<directory> <filetype> <daterange>
<directory> <filetype> <daterange>
<directory>... (2 Replies)
Discussion started by: WildBeard83
2 Replies
10. Programming
Hi,
I've done a set of operations on some text files using a someexecutuble.jar file, which is internally calling some python scripts. Post that, in same location, my jar created some log files.
However, i'm not able to re-direct the log files to some other location in my windows directory.... (1 Reply)
Discussion started by: arjun_arippa
1 Replies
dircmp(1) General Commands Manual dircmp(1)
NAME
dircmp - directory comparison
SYNOPSIS
n] dir1 dir2
DESCRIPTION
examines dir1 and dir2 and generates various tabulated information about the contents of the directories. Sorted listings of files that
are unique to each directory are generated for all the options. If no option is entered, a sorted list is output indicating whether the
filenames common to both directories have the same contents.
Compare the contents of files with the same name in
both directories and output a list telling what must be changed in the two files to bring them into agreement. The list
format is described in diff(1).
Suppress messages about identical files.
Change the width of the output line to
n characters. The default width is 72.
EXTERNAL INFLUENCES
Environment Variables
LC_COLLATE determines the order in which the output is sorted.
If is not specified in the environment or is set to the empty string, the value of is used as a default. If is not specified or is set to
the empty string, a default of ``C'' (see lang(5)) is used instead of If any internationalization variable contains an invalid setting,
behaves as if all internationalization variables are set to ``C'' (see environ(5)).
International Code Set Support
Single- and multi-byte character code sets are supported.
EXAMPLES
Compare the two directories and and produce a list of changes that would make the directories identical:
WARNINGS
This command is likely to be withdrawn from X/Open standards. Applications using this command might not be portable to other vendors' sys-
tems. As an alternative is recommended.
SEE ALSO
cmp(1), diff(1).
STANDARDS CONFORMANCE
dircmp(1)