Software :: Read Files In Subdirectories On Encrypted Drive
Dec 18, 2010
Two machines -- both 64-bit, both the latest Truecrypt installed, one Windows, one Linux. I created encrypted pendrive (using partition mode; not file-partition on regular partition) with FAT system on it. I copied several files/directories there -- using Windows. Then I unmounted it, mounted in Linux, but when I checked if everything is OK, it appeared that only the highest level of file hierarchy is visible -- i.e. only files and directories at mount point. Directories are seen as empty (in fact they are NOT empty). When I unmount pendrive and mount it again on Windows, all files/subdirectories are visible again. It is not an issue with older version of TC on Linux, because the version is the same. The question: how to make files in subdirectories visible on Linux?
[code]...
View 5 Replies
ADVERTISEMENT
Nov 18, 2010
This question is very similar to this one except that I want to maintain the file's original subdirectories.
For example if I had
/temp/a/a.txt
/temp/a/a.jpg
/temp/a/b.txt
/temp/b/c.txt
/temp/d/d.txt
/temp/d/d.jpg
/temp/d/e.txt
/temp/f.txt
[Code]...
View 2 Replies
View Related
Oct 5, 2010
I know I can do find . -type f, but that includes binary file and I couldn't find a way to exclude them with find
View 4 Replies
View Related
Jun 16, 2011
I am using the diff command with the -r option, to compare a large number of files and files in subdirectories. My main interest is to find out which files have been changed, and not what the actual changes are, and since a lot of files has been changed, it would be a lot easier to view the file names only. Is there and option for diff that might do this, or does there exist a similar tool/command that could do the job?
View 1 Replies
View Related
Aug 15, 2010
My Freenas server is currently off line for the moment pending the arrival of some thermo paste and I need to get some files off one of the drives. The drive is formatted in the UFS file system.I am using a usb to sata converter to hook the drive up to my laptop which is running 10.04.I am then able to browse the files by going to my /mnt folder. The problem is I cannot copy any of the files. I get a permission error. I have tried chmod 777 command to change the permission but I get an error about it being read-only. I tried running nautilus as root to copy the files but I still get a permission error. Using nautilus as root to change the permission or alter any of the read/write options fails because the drive is read only.
From what I understand I can only mount the drive as read only because its UFS and I can't change the permissions because its read only. Sounds a bit like an endless loop lol.Running Freesbie (freebsd live cd) didn't do me any good as it didn't even detect my hard drive and I don't want to learn a new OS just to transfer my files.ny advice would be appreciated. I really don't want to wait until my thermo paste comes and I will be on the road for the next couple of weeks so I won't even be able to get it setup. I need these files now.
View 1 Replies
View Related
Jan 20, 2010
This happens in my main computer with Slackware and Arch.
Code:
$ su
Password:
# cd /media/fl
[code]....
View 7 Replies
View Related
Sep 23, 2009
I can't copy a few files from my pen drive. Got the files from a public computer, with windows. I use fedora 10.
cp gives the following error--->
cp const1.java /home/user1/Documents/scjp
cp: cannot open `const1.java' for reading: Permission denied
lsattr shows this--->
lsattr const1.java
lsattr: Permission denied While reading flags on const1.java
mount shows this--->
/dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
View 3 Replies
View Related
Jan 15, 2010
i was trying to format one drive, accidentally formated another, told the format process to stop, and i'm unable to read the folders or files in the drive. i see some greek, odd symbols... But cant open the folders.
View 8 Replies
View Related
Jun 25, 2011
I have a large directory tree with my ebooks and some of these files are zipped. I would like to move all of the zip files to another one so I can manipulate them. Since they are all scattered inside the tree, I would like to do it quickly and painfully with CLI. How should I proceed?
[code]...
View 10 Replies
View Related
Feb 22, 2010
How can I remove all .swp files in all of my subdirectories under Linux?
View 4 Replies
View Related
Sep 4, 2010
i currently have hundreds of files all in a single directory. What I would like to do is create 8 subdirectories and move the files into the subdirectories based on the first character of the file name. Ideally, the script would omit any 'the' or 'a' and use the second word for filing purposes. No filenames have spaces. Instead they use periodsThe subdirectories will be:
0-9
a-d
e-h
[code]...
View 2 Replies
View Related
Mar 10, 2011
How can I search for a string (for example, a constant) in all the (.cpp) files in the current direcotire and subdiretories.
View 4 Replies
View Related
Dec 26, 2010
In reading the rsync man page and browsing a lot of websites, I ended up a bit confused, or maybe it was just too much eggnog. Anyway, to exclude a directory "videos" with everything in it, which is /home/user1/camera/videos and I'm rsyncing the whole user1 directory to an external drive
[code]...
View 1 Replies
View Related
Feb 11, 2010
I'm able to use the following to remove the target directory and recursively all of its subdirectories and contents. find '/target/directory/' -type d -name '*' -print0 | xargs -0 rm -rf
However, I do not want the target directory to be removed. How can I remove just the files in the target, the subdirectories, and their contents?
View 4 Replies
View Related
Mar 1, 2010
I've found several posts discussing how to do this in with the terminal, but none exactly fit what I am trying to do. And since I'm still very new, I was hoping for some help.
I have a parent directory called "Music." The subdirectories all start with "artist", some go further as in "artist/album/cd1". So right now the structure varies in the following ways code...
How can I move all the files (or the file types that I choose) to the parent directory "music"?
(By the way, for any who are interested, this is so that I can use an external hd with a PS3. ("playstation 3"--for anyone who was in my predicament searching the threads)
View 7 Replies
View Related
Jun 10, 2010
I need to copy all subdirectories and files from one directory to another ever 5 minutes or so, with the old data automatically being overwritten with the new data. I'd also like this to run at startup. Is there any way this can be done? If so, what program would I need to schedule the automation and what is the command line I would need.
View 2 Replies
View Related
Aug 5, 2011
Ubuntu main O/S windows 7 running in Virtualbox how or can i read a usb flash drive in the windows O/S i want to read my mp3 player
View 4 Replies
View Related
Jun 13, 2011
I'm trying to setup an Apache server on my computer which will allow browsing of files in a specific directory and subdirectories, without needing any sort of authentication.
I've got the Apache2 server up and running through yast, and everything works fine as long as I try to point it to the /www/htdocs folder. However, I want to point it at another folder, which is on another partition. This partition is formatted as NTFS, if that matters at all (here's some background on some permissions issues I had with the NTFS partitions recently).
When I change the "Directory" setting in the Yast http server configuration utility to the directory on the NTFS partition I wish to use, attempting to access the server results in the following error:
Code: Access Forbidden: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster.
Error 403
192.168.1.100
Mon Jun 13 23:43:29 2011
Apache/2.2.17 (Linux/SUSE)
View 4 Replies
View Related
Jul 16, 2011
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global]
workgroup = DOMAIN
server string = File Server
[code]...
View 3 Replies
View Related
Aug 23, 2010
I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.
I tried the coding posted above.
find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"
code....
but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"
View 9 Replies
View Related
Feb 21, 2010
I need to search in "/" and all subdirectories, all files greather than 30 MB.
View 5 Replies
View Related
Jun 20, 2010
I bought an 8GB flash drive because my D drive doesn't read DVDs. Anyway, my goal is to install Linux ubuntu and have it be my OS (replacing Windows XP). Last night I went to the Ubuntu homepage and downloaded the Ubuntu desktop edition 32-bit and put it on my flash drive. I followed the instructions on how to open and run it, but I was never asked about whether I want Linux to run side by side with Windows or if I want it to replace Windows. It downloaded the whole program, my computer restarted and then (on a black screen) it asked if I wanted to use Windows XP Home Edition or Linux Ubuntu. It's really frustrating because it took a while to download and install it in the first place AND to top that off, when I tried to use Ubuntu it went to a black screen and at the top said that there was an error. So I uninstalled all the ubuntu program and software and now I have a clean slate and want to try this again. I am a complete n00b. Could someone please walk me through how I can go about downloading (w/ links plz), installing and making ubuntu my ONLY OS on my computer via a flash drive? I'm desperate and I don't want to go through all of that and make the same mistake again!
View 9 Replies
View Related
Oct 26, 2010
I've installed Squeeze on a USB stick, but can't get it to boot. I've had this problem before and gave up last time. I installed on an encrypted LVM - here is the grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
[Code]...
I added rootdelay=10 and switched root from hd1,1 to hd0,0 as suggested elsewhere. Still no go, i jsut get dumped into ramfs shell with an error message saying that /dev/mapper/crunchbang-root doesn't exist.
View 1 Replies
View Related
Apr 6, 2011
In disk usage analyser, I see that under home, I have my user folder which is about 50 GB. But for some reason, there is another equally big folder called "ecryptfs". When I installed ubuntu, I selected the encrypt hard drive option. How is this encryption when it seems like the space is just being replicated? And if I want to free up the 50 GB of space taken up by "ecryptfs", how do I do it?
View 3 Replies
View Related
Dec 3, 2009
I updated through yum tonight had to reboot but it hangs on reboot.Now I can't use my computer.here point me in the right direction to fix this.I have no clue.I really need to mount this encrypted drive but it won't let me this way I can get my files and move them to another os that is working.I put in the password but it will not mount for some reason.My first venture in fedora land does not seem to be going well at all right nowor a page I have work to do and I really don't have time to be reading hundreds of pages to find the right answer.
View 9 Replies
View Related
Feb 5, 2010
I have a laptop with a sata drive that is almost full I need to get a bigger hd for it.Is it possible to clone an encrypted FC11 drive?
View 1 Replies
View Related
Oct 18, 2010
I can't seem to get an encrypted partition to recognize a keyfile. It is a backup partition that I would like to keep unmounted until a cron-script runs once a week to backup my sensitive data. In order for the script to run without my assistance, I thought I'd use a keyfile to authorize the mount.
So far I've created a keyfile and have added it to the partition using "luksKeyAdd". It didn't really say it was successful, but when I do a luksdump, it shows that another key slot has been enabled, so I believe it worked. After that I created a /etc/crypttab file with the following:
Code:
backup_sdd1 /dev/sdd1 /root/backup luks
/dev/sdd1 being the backup partition, and /root/backup being the keyfile
After rebooting, I am still prompted for a password when trying to mount the encrypted partition (sdd1), and there is no device "/dev/mapper/backup_sdd1" created like I believe there should be. I haven't added any entries to fstab, as I don't want this partition to mount at boot.
View 5 Replies
View Related
May 6, 2010
Installed new drive in notebook, connected old one with SATA/USB cable, both are encrypted disks. It detected the old drive and prompted for password in Gnome, after entering correct decrypt password, this error appeared:
Error unlocking device: cryptsetup exited with exit code 239: Device udisks-luks-uuid-4de9c864-c678-4633-4343-uid1000 already exists.
View 1 Replies
View Related
Jun 25, 2010
My laptop has only Debian on it. Except for /boot, the entire hard drive is a giant encrypted LVM partition. It takes Clonezilla 13 hours to back up to a USB hard drive without verification, long enough to make sure backups aren't done much. Is there some way to make an encrypted bare-metal backup of only what is used (except swap) instead of every sector? Backing up across the LAN would be ok.
View 6 Replies
View Related
Apr 30, 2016
I installed Debian 8 Jessie with full disk encryption and chose to have everything on the same partition. After install, I notice that my 8GB laptop has a 16GB swap. Is there a way to reduce the swap to 8GB (or maybe 4) whilst not affecting the encryption?
I have a 1TB HDD so space is not an issue but I dislike such waste. The setup used LVM.
View 2 Replies
View Related