General :: Sha1sum A Folder And Files?

Nov 2, 2010

Is there anyway to make a hash (or similar), of a folder of files, for data integrity purposes?

I tried with sha1sum, but it cant do it.

Is it possible with some other software?

View 2 Replies


ADVERTISEMENT

Fedora Installation :: Can't Find Any SHA1SUM Files To Give Correct Character Sequences

Sep 27, 2009

I have downloaded both versions of Fedora 11 (Gnome and KDE) to iso files on my hard disk - in Windows XP. I then tried the verification procedure advised in [URL]... section 3.1. I have successfully installed and run hashcalc, with the SHA1 option, and got the following results:

- for the Gnome version : 795b52b3c7b16eba6f2cae055ec894d8648d8095
- for the KDE version : 38ef6c97e29803add28d40add05aa025b6f4c92b.

But I can't find any SHA1SUM files to give me the correct character sequences against which to compare the said results.

View 7 Replies View Related

General :: Why Does Sha1sum Act Differently With The Same Input

Jun 22, 2010

I'm trying to replicate the behavior of the sha1sum executable in some java code, however, in the process I've discovered that sha1sum appears to behave differently given the same input in two scenarios.

Assume input of '12345' without the single quotes and with no newline.

If I put this data into a file (file1) and run sha1sum from the command line:

However, if I do this, I get a different result:

Using the apache commons-codec jar, I'm able to read in file1, get it's contents, and perform a .shahex() on the content and get the first result. However, I need to get the second result (due to legacy code) and I can't figure out why sha1sum is behaving differently, or what grep is doing to the input.

The system is running CentOS 5.4 with sha1sum 5.97

View 3 Replies View Related

General :: List Folder Size And Number Of Files And Folders In Folder?

Nov 23, 2010

In Linux bash shell, for a given directory, how can I list:The create date for that directory The number of files in that directory The number of subdirectories in that directory.

View 3 Replies View Related

General :: Copying All .jpg Or .JPG Files From A Folder And All Its Subfolders To /usr/name/pictures Folder?

Sep 10, 2009

How would i go about copying all .jpg or .JPG files from a folder and all its subfolders to my /usr/name/pictures folder? I'm guessing I'd have to use some sort of .[jJ][pP][gG] to get all the pictures from other examples i've seen, but really not sure how to use that in a recursive cp.

View 14 Replies View Related

General :: Copy Files From One Folder To Another Folder Using Shell?

Mar 4, 2010

i need to copy files from a folder called output files to another folder called running but im not able to do it i always get a stat error

View 14 Replies View Related

General :: Keep Chmod On Folder / Sub-folder And Files?

Nov 3, 2010

I got a folder that I transfer stuff to all the time. the folder is in chmod 775 but when i upload folders and files, they are given chmod 700, but i want it chmod 775 everytime i upload something. so far i have logged in to my linux computer and did a chmod -R 775 to the folder every time i uploaded something to it. is there a function somewhere to make it 775 everytime i upload or can i have something run a script, so i don't have to go in and write it everytime i upload something?

View 2 Replies View Related

General :: Copy Files And Folder Except Some Files And Folders?

Jun 8, 2010

I have many files and folders in my source folder. I want to copy some files and folders from that source folder to destination folder. What should be require to given with the "cp" command?

View 1 Replies View Related

General :: Queue Up All Audio Files In Particular Folder Which Also Has .txt Files?

Mar 20, 2010

I wanted to queue up all audio files in particular folder which also has .txt files.I tried$find /data/songs -iname '[^txt]' -exec totem --enqueue '{}' ';'Thinking that this will exclude txt like expression in 'grep'.It did not work

View 2 Replies View Related

General :: Change Folder Permissions Without Changing The Permissions Of The Files Within The Folder?

Aug 11, 2010

How do I change folder permissions without changing the permissions of the files within the folder?

View 6 Replies View Related

Fedora Installation :: Check Sha1sum For Iso?

Nov 5, 2010

Where I can find sha256sum value for installation .iso file of fedora 8 and same others version of fedora

View 2 Replies View Related

Fedora :: Importance Of Sha256sum Compared To Sha1sum?

Dec 24, 2009

I understand that md5sum had some faults where it would get the same checksum on 2 different files.What exactly are the benefits of sha256sum compared to sha1sum?

View 1 Replies View Related

Fedora Installation :: Sha1sum On Cd Iso Is Wrong - But Consistent

Jan 22, 2010

I downloaded the disc1 iso from [url] and ran it through sha1sum and got 5063ec... (the exact digest is in the virtual console, so I can't copy and paste). But the sum shown in [url] is different, so I removed the iso from my file-system and re-downloaded it. I ran the second download through sha1sum and got the same (wrong) digest as before: 5063ec...

Now, I may not understand fully how sha1 works, but I'm pretty sure if the faulty digest was wrong because of a download error, it would be -very- unlikely that I would get the same wrong digest twice. What is going on here? Is the error server-side or something? Or do I just have terrible luck, or do I not fully understand sha1 sums? Or maybe sha1sum isn't the right command to run?

View 7 Replies View Related

Ubuntu :: Best And Full Feature Editor - Open All Files In A Folder When Drag And Drop The Folder On It

Jun 21, 2011

when i used windows there was this wonderful editor named Notepad++.it was perfect(it still is) some of its best and useful features of it (for me) was:

1-open all files in a folder when drag and drop the folder on it
2-search and replace a statement in all open files
3-have an extended mode which include special characters like

and so on.. i want to know if there is an editor with this feature in ubuntu?

View 8 Replies View Related

General :: Folder Gone Missing On HD With All Files In It

May 3, 2010

I have an external 2.5" eSATA drive which up till now was using via USB2.0 connection and was working perfectly. The drive is pretty new - I think less then a year and it's a Seagate too of which I think to be more reliable although still consumer based.I had connected the drive to FreeBSD 8.0 32bit on my server in ReadOnly mode using ext2fs in order to stream the information across my network.

Plugging the drive into Linux recently yielded everything performing fine, as the drive stores all the seasons of a TV show I started recognizing that things where outa whack when the linearity of the episodes stopped being sequential and previous episodes started playing when clicking an incremented episode.

The drive is formatted with the ext3 filesystem and I have already attempted to run e2fsck -p on it which showed up as the drive being 'clean'.I then attempted to use my notebooks eSATA Express card to connect the drive via the eSATA cable as I have found it to be more reliable then the USB2 / ext3 solution which I've had my fair share of problems with. However, the drives TOC or Journal maybe damaged by whatever reason so I will need to repair that.I stumbled across Magic Rescue and so far have compiled it but not used it as I wanted to be sure first if there was another way to do this.

View 5 Replies View Related

General :: Move Files In A Folder If It Is Not In Use?

Jun 24, 2011

In my bash script I need to move files in a folder if it is not in use.

Code:
for entry in `ls /root/shared_storage/input`; do
echo $entry
run=`lsof /root/shared_storage/input/$entry`
ru=${run:0:5}
echo $entry
if [ "$ru" == "" ]; then
........
It worked fine sometimes but sometimes it just get stuck at lsof. Is there any other way that I can use here to check if the $entry is using some other process?

View 10 Replies View Related

Ubuntu :: Copy Files From Original Folder To $user Folder?

Oct 22, 2010

i want make a bash panel and i want he will copy files from orginal folder to $user folder i mean when for explame i type i want install some server he say cp: cannot stat 'root/Desktop/2/files/beckup/sa-mp-steam': No such file or directory.

View 6 Replies View Related

General :: Copy Files Using Xargs From A Folder To Another?

Jun 10, 2009

I'm trying to copy a list of files except the files which has ".log" in the filename to another folder.I can run it correctly when I am located in the Source folder, but not when I am in any other location.cd /home/me/Sourcels /home/me/Source -1|grep -v "^.*log$" |xargs -n 1 -iHERE cp -r HERE /home/me/DestinationHow can I indicate both Source and Destination Folder?

View 2 Replies View Related

General :: Compare Files On Ftp-server And In A Folder?

Apr 12, 2010

How to compare files on ftp-server and in a folder in Linux?

View 4 Replies View Related

General :: Maximum Number Of Files Per Folder?

Apr 28, 2011

I would like to ask you if there is any maximum allowed number of files per folder in linux (without risking it to lose everything). I am using openuse 11.4 with latest kde (4.6?).

I am trying something fast and dirty and it might be that one folder will contain like 10^6 files.

Is there is anything I should be warned about that?

View 10 Replies View Related

General :: Copying Latest 10 Files From One Folder To Another?

Nov 19, 2010

i want to copy the latest 10 files from one holder to another. All the files start with the number 2 and this is what i have so far:

lt -lt 2* | head -10

So i want to copy that output of 10 files to another folder

View 5 Replies View Related

General :: Display The Last 10 Modified Files Of A Folder?

Jul 23, 2010

I need to know the last 10 modified files in a folder.

View 8 Replies View Related

General :: Find Top 10 Big Files/Folder In The System?

Jun 1, 2011

Used following command to find out the top 10 big files in the system But it is having its own limitations as it consider files and directories both.

Code:

I would like to get the following information.

1)top 10 big files.
2)top 10 big directories.

File size with human readable output.

As executing

Code:

But when i add -h option for human readable file size its giving me wrong output.

Code:

View 10 Replies View Related

General :: Hide Folder Containing Files In Ubuntu 9.10?

Apr 7, 2010

how to hide folder containing files in ubuntu 9.10

View 1 Replies View Related

General :: Link Files In Different Folder In Html?

Jun 3, 2010

I try to link two page from different folder and directory1. I want to link [URL]

View 9 Replies View Related

General :: Cannot Copy Some Files To Specific Folder?

Jul 20, 2011

sudo cp ../../../rootfs_maker_ramdisk drivers/filesystem/ -rf
give below errorCode:cp: cannot create special file ...._rootfs/dev/hda4': No such device or addressi get this error only in some specific locationsif i dont use sudo then i get permission denied msg

View 4 Replies View Related

General :: Listing Pdf Files In A Folder On The Desktop?

Mar 24, 2011

its a very basic question but iam not getting it right nowi have to list all the pdf files on my desktop even the pdf files which are present in folders on the desktopls *.pdfonly list the files present on the desktop, but not the files in the folders on the desktop containing the pdf files.

View 3 Replies View Related

General :: Files Picked For Sync But Not Appear On Folder

Oct 4, 2010

I have 2 Mounts /mnt/Movies and /media/Movies, mnt goes to a network drive that is mounted via cifs and media is also a network drive mounted via NFS. I normally keep drives in sync using rsync and have done so with these drives. But for some reason there's a bunch of files that on /media/Movies that just wont copy over to /mnt/Movies. I've tried touching the files and then running rsync with the whole file option it picks up the files need to be sync'd but they don't appear.

I've tried using cp on the missing files but the files just never appear but it does take about the right time for the prompt to come back indicating it would be copying the data. So my next idea was to use mc. I compared the 2 directories and it selects 83 files that are not in both folders, so then I tell it to copy them, and it comes back saying 'target already exists', if I overwrite or update they still don't appear. I've unmounted the shares, reboot the server and both network drives and run the network drives disk check but nothings helping. I'm trying to avoid deleting the folder and just rsyncing everything again.

View 2 Replies View Related

General :: In Which Folder Log Files Located In Ubuntu

May 26, 2011

I know I can use the log file viewer to look at the logs; however, I was hoping someone can tell me exactly which folder contains the log files so I can view these files directly.

View 2 Replies View Related

General :: Zipping Files Into A Specific Folder?

Dec 24, 2010

I am trying to use the command gzip to compress a directory or file list as argument and compress the file in a file named copia101225, within a directory named ZIPFILES. I want to make sure that if the arguments doesn't exist, the destination directory doesn't exist that it creates it. I keep failing at compressing the file to copia101225, that is within the directory named ZIPFILES This is what I have so far:

#! / bin / bash
# Title: Compress a file
# Author: Jose Miguel Colella
# Description: Compress a file

[code]....

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved