Sponsored Content
Full Discussion: data resolution
Operating Systems Linux Red Hat data resolution Post 302419366 by pludi on Friday 7th of May 2010 02:40:31 AM
Old 05-07-2010
Yes, use something other than the time for modification check (cryptographic hashes for instance [md5sum, sha256sum]), or copy the files in an container (eg tar them):
Code:
$ touch test.txt
$ LANG=C stat test.txt
  File: `test.txt'
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 801h/2049d      Inode: 622770      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/      pludi)   Gid: (  100/   users)
Access: 2010-05-07 08:35:37.000000000 +0200
Modify: 2010-05-07 08:35:37.000000000 +0200
Change: 2010-05-07 08:35:37.000000000 +0200
$ tar -cf /tmp/test.tar test.txt
$ cd /tmp
$ tar xf test.tar
$ LANG=C stat test.txt
  File: `test.txt'
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 801h/2049d      Inode: 1724286     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/      pludi)   Gid: (  100/   users)
Access: 2010-05-07 08:36:23.000000000 +0200
Modify: 2010-05-07 08:35:37.000000000 +0200
Change: 2010-05-07 08:36:23.000000000 +0200

 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Resolution..??

When i start my pc after the installation of suse linux it ask me for resolution but not for graphical interface, for console, can i run a command to change it again? Thanx! (3 Replies)
Discussion started by: Linux_fan
3 Replies

2. UNIX for Advanced & Expert Users

TCP/IP name resolution

We have 2 Unix boxes. AIX 4.3 RS/6000 Linux RedHat 6.1 Intel There is a name server running on the linux machine. This is not used on the AIX machine ( it simply uses /etc/hosts ). Now i have rsh permission denied problems and i suspect our AIX and tcp/ip name resolution. I was told to... (2 Replies)
Discussion started by: progressdll
2 Replies

3. UNIX for Advanced & Expert Users

Monitor Resolution

My machine (Sun Blade 100) has just had it's OS reinstalled (solaris 8). For some reason the monitor resolution has changed (decreaded so that I have less monitor real esate). Does anybody know the command to change monitor resolution in Solaris? Cheers AreaMan (2 Replies)
Discussion started by: AreaMan
2 Replies

4. UNIX for Advanced & Expert Users

Monitor Resolution

Guys, We are going to order the wide screen monitor with 1920*1200 resolution for one U60 in our client side, that their current graphic card is Elite3D-m6 and the higher resolution which this card supports is 1280*1024. I just want to make sure wehther we are able to work with this monitor via... (1 Reply)
Discussion started by: nikk
1 Replies

5. Solaris

DNS name resolution

Hi, I got solaris 10 installed on a E250 and i am expericing issues resolving dns. from some research i think it's becuase where i haven't set-up NIS and i don't intend too as i am just setting up a box to poke communigate pro. Any help or advice please? Thanks in advance Alan (1 Reply)
Discussion started by: e250user
1 Replies

6. IP Networking

Problem with name resolution?

I have an AIX4.3 box on our subnet, called LIMEST3.OURDOMAIN.CO.UK, with IP address 10.103.1.13 It has the following entry in its own /etc/hosts: 10.103.1.13 limest3 limest3.ourdomain.co.uk Now, if I ping limest3.ourdomain.co.uk or ping 10.103.1.13, the result is instant. However if I ping... (4 Replies)
Discussion started by: grimbleshanks
4 Replies

7. Solaris

Desktop Resolution

Hi friends, i had small problem in my home pc i install solaris 10 but GUI is very big cannot view any thing, but i can open terminal where with very difficulty is there any command to re size my resolution some thing like 1024. if not i want to log in default console other than GUI only terminal... (5 Replies)
Discussion started by: kurva
5 Replies

8. Solaris

screen resolution

how to change screen resolution in CDE prompt (2 Replies)
Discussion started by: tirupathi
2 Replies

9. Solaris

Screen Resolution

Hi all. I have a very peculiar problem in Solaris 10. The output of the m64config -prconf command with regards the Card Adapter is the following. Card possible resolutions: 720x400x85, 640x480x60, 640x480x72, 640x480x75 800x600x56, 800x600x60, 800x600x72, 800x600x75, 1024x768x60 ... (0 Replies)
Discussion started by: lynxman
0 Replies

10. Windows & DOS: Issues & Discussions

netbios name resolution + w7

Hello guys, At windows 7, when multiple ip addresses used on one nic, starting "network" from desktop is able to resolve samba machine's name (freebsd + samba3.5.9 from ports) but does not want to open machine (error: unexisting) nor ping it by name. Works fine if specified by ipv4/ipv6 address... (2 Replies)
Discussion started by: hachik
2 Replies
ZIPARCHIVE.OPEN(3)							 1							ZIPARCHIVE.OPEN(3)

ZipArchive::open - Open a ZIP file archive

SYNOPSIS
mixed ZipArchive::open (string $filename, [int $flags]) DESCRIPTION
Opens a new zip archive for reading, writing or modifying. PARAMETERS
o $filename - The file name of the ZIP archive to open. o $flags - The mode to use to open the archive. o ZipArchive::OVERWRITE o ZipArchive::CREATE o ZipArchive::EXCL o ZipArchive::CHECKCONS RETURN VALUES
o $Error codes - Returns TRUE on success or the error code. o ZipArchive::ER_EXISTS File already exists. o ZipArchive::ER_INCONS Zip archive inconsistent. o ZipArchive::ER_INVAL Invalid argument. o ZipArchive::ER_MEMORY Malloc failure. o ZipArchive::ER_NOENT No such file. o ZipArchive::ER_NOZIP Not a zip archive. o ZipArchive::ER_OPEN Can't open file. o ZipArchive::ER_READ Read error. o ZipArchive::ER_SEEK Seek error. EXAMPLES
Example #1 Open and extract <?php $zip = new ZipArchive; $res = $zip->open('test.zip'); if ($res === TRUE) { echo 'ok'; $zip->extractTo('test'); $zip->close(); } else { echo 'failed, code:' . $res; } ?> Example #2 Create an archive <?php $zip = new ZipArchive; $res = $zip->open('test.zip', ZipArchive::CREATE); if ($res === TRUE) { $zip->addFromString('test.txt', 'file content goes here'); $zip->addFile('data.txt', 'entryname.txt'); $zip->close(); echo 'ok'; } else { echo 'failed'; } ?> PHP Documentation Group ZIPARCHIVE.OPEN(3)
All times are GMT -4. The time now is 01:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy