Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Multiple files with the same name in the same directory Post 302592727 by Corona688 on Tuesday 24th of January 2012 04:38:09 PM
Old 01-24-2012
It's not possible to have two files with the same name, no.

Though UNIX files are case sensitive, so it's entirely possible for filename, filenamE, and Filename to coexist in the same directory.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to unzip multiple files (encrypted) in a directory.

Good day all. I want to unzip multiple files in a directory. Suppose there are two files: test.txt.zip and test1.txt.zip Using this command: unzip -o -P test*.zip results in the unzipping of the first file not second. It gives this error: Archive: test.txt.zip caution: filename not... (2 Replies)
Discussion started by: er_ashu
2 Replies

2. Shell Programming and Scripting

Synchronization in copying multiple files to a directory

Hi Friends, My goal is to copy 1000 of files of same filesize simultaneously to a directory. i.e i do multiple copies into a same directory. What i feel here is, at some 1000th iteration, few transfers ends in advance before some transfers start. I need to get synchronized file transfers so that... (1 Reply)
Discussion started by: amio
1 Replies

3. Shell Programming and Scripting

ftp multiple files from same directory

Hi there Gurus, I have the following ftp script: $ more ftp_dump_arch4.sh #! /usr/bin/ksh # Constant variables HOST='xx.xx.xx.xx' USER='user' PASSWD='password' dir='/export/file' ftp_log='/tmp' ftp -n $HOST > $ftp_log/ftp.log << END user $USER $PASSWD verbose lcd $dir bin (3 Replies)
Discussion started by: lweegp
3 Replies

4. Shell Programming and Scripting

How to create multiple list of files in a directory ?

Hi, i have say 100 files in a directory. file1.log file2.log file3.log file4.log file5.log file6.log ... ... ... file99.log file100.log ========= I need to create another file which contains the list of al these log files. each file should contain only 10 log file names. it shud... (4 Replies)
Discussion started by: robinbannis
4 Replies

5. UNIX for Dummies Questions & Answers

Renaming files after their directory name in multiple sub directories

So I am not sure if this should go in the shell forum or in the beginners. It is my first time posting on these forums. I have a directory, main_dir lets say, with multiple sub directories (one_dir through onehundred_dir for example) and in each sub directory there is a test.txt. How would one... (2 Replies)
Discussion started by: robotsbite
2 Replies

6. Shell Programming and Scripting

How to Pull out multiple files from DB table and redirect all those files to a differetn directory?

Hi everyone!! I have a database table, which has file_name as one of its fields. Example: File_ID File_Name Directory Size 0001 UNO_1232 /apps/opt 234 0002 UNO_1234 /apps/opt 788 0003 UNO_1235 /apps/opt 897 0004 UNO_1236 /apps/opt 568 I have to... (3 Replies)
Discussion started by: ss3944
3 Replies

7. Shell Programming and Scripting

find the latest files in multiple directory

I want to get the latest files from multiple directories, d1, d2,d3 and d4 under the parent dierectoy d. can anyone help out with this? thx (3 Replies)
Discussion started by: shyork2001
3 Replies

8. UNIX for Dummies Questions & Answers

Help in copying multiple files from th directory

Hey Guys, I have directory with thousands of files, I need to copy only march data. can any one please Help.......... Thanks, Uttam N (4 Replies)
Discussion started by: Uttamnsd
4 Replies

9. Shell Programming and Scripting

Renaming multiple files in a directory

Hello, I would like to rename all available files in a directory from Filename to Filename_Normal. I tried to use below script but it is giving some error: #!/bin/sh for i in `ls` do echo Changing $i mv $i $i_Normal done Error received: Usage: mv src target or: mv ... (10 Replies)
Discussion started by: manishdivs
10 Replies

10. Shell Programming and Scripting

Using awk on multiple files in a directory

so i have a file system: /data/projects in this file system, there's about 300 files. on all files in this directory, i'm running: egrep -r 'Customer.*Processed' /data/projects/* is there an efficient (fast) awk way of searching through each file in the directory and providing an... (9 Replies)
Discussion started by: SkySmart
9 Replies
cachefspack(1M) 														   cachefspack(1M)

NAME
cachefspack - pack files and file systems in the cache SYNOPSIS
packing-list ] cache-directory ] [ file ... ] DESCRIPTION
The utility is used to set up and maintain files in the cache. This utility affords greater control over the cache, ensuring that the specified files will be in the cache whenever possible. Options recognizes the following options: Display pathname of the files to be cached. Specify a packing-list file containing a list of files and directories to be packed. Options within subdirectories and files can also be specified. The format and rules governing packing-list are described in packingrules(4). Directories are packed recur- sively. Symlinks that match a regular expression on a LIST command are followed. Symlinks encountered while recursively processing directories are not followed. Print a brief help summary of all the options. View information about the packed files. Pack the file or files specified by file. This is the default behavior. Strip "./" from the beginning of a pattern name. Unpack the file or files specified by file. Unpack all files in the specified cache-directory, under which the cache is stored. Operands recognizes the following operands: file A path name of a file to be packed or unpacked. RETURN VALUE
returns the following values: Successful completion. An error occurred. EXAMPLES
Pack the file projects in the cache. Pack the files projects, updates and master_plan in the cache. Unpack the file projects from the cache. Unpack the files projects, updates and master_plan from the cache. Unpack all files in the cache1 cache directory. Use the lists.pkg packing-list to specify files to be packed in the cache. The contents of lists.pkg are as follows: This example will pack all files in the directory /src/junk with .c and .h extensions that do not contain the string SCCS in the file's path name. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
cfsadmin(1M), mount_cachefs(1M), packingrules(4) cachefspack(1M)
All times are GMT -4. The time now is 06:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy