Rsync Can I delete .NFS and .fuse files

Tags
.fuse files, .nfs files, beginners, rsync

 

 
Thread Tools Search this Thread
# 1  
Old 08-25-2013
Rsync Can I delete .NFS and .fuse files

Hello,

I have some files in a local directory and perform an rsync command with the files in a remote directory, Now when I checked the files in the local and the remote directory, I found some strange filetypes such as this: .nfs0000000001d0c8e000002ff2 , .fuse_hidden000014da00000001 etc etc, also some files ending in a ~ like filename.m~ or filename~

What is the use of these files ?
It is safe to delete these files from both local and remote directory ?
# 2  
Old 08-25-2013
Without seeing the perms (and type) all we know is what you say you have files...
Usually files hidden are hidden purposely and so when you dont know what they are, you should not touch them...
Knowing your OS and the attributes of the files can help us, in telling you more...
# 3  
Old 08-26-2013
RE : File types

Hello,

Ok I ran an ls -lat command and this is what I get

This is the output for filenames beginning with ,fuse
Code:
 
Output of ls -lt .fuse*
-rw-------. 1 milli milli 657199 Aug 21 12:37 .fuse_hidden000008ea00000001
-rw-------. 1 milli milli 901745 Aug  5 13:50 .fuse_hidden0000063300000001
-rw-------. 1 milli milli 900080 Aug  5 13:42 .fuse_hidden0000099500000001
-rw-------. 1 milli milli 845958 May  5 17:42 .fuse_hidden0000180400000007
-rw-------. 1 milli milli 848917 May  5 15:47 .fuse_hidden000016ac00000004
-rw-------. 1 milli milli 849547 May  5 15:33 .fuse_hidden0000162100000002
-rw-------. 1 milli milli 849400 May  5 15:24 .fuse_hidden000014da00000001

Then the other file type is .nfs
Code:
Output of ls -lt *.nfs
-rw-------. 1 milli milli 36278 Apr  5 14:03 .nfs0000000001d0c8e000002ff2

Btw the OS is Ubuntu 12.10
# 4  
Old 08-26-2013
These files seemed to be generated when removing files while some processes have still those files open... You will need to investigate a little more in order to explain what/why they are and after, decide to remove them, are you the NFS server?

Instead of actually deleting the file, it is renamed to '.fuse_hidden...' until the last reference is released by fuse:
Filesystem in Userspace (FUSE) is an operating system mechanism for Unix-like computer operating systems that lets non-privileged users create their own file systems without editing kernel code.

Last edited by vbe; 08-26-2013 at 10:39 AM..
 

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Rsync - delete extra files in Destination without synchronising directories Catullus UNIX for Advanced & Expert Users 1 07-05-2017 10:10 AM
Move directory with rsync and delete from source Siddheshk UNIX for Beginners Questions & Answers 2 05-20-2017 05:18 AM
Rsync with --delete but do not delete peer dirs on target JavaMeister UNIX for Advanced & Expert Users 4 11-21-2016 11:21 AM
Rsync with delete option solaris_1977 Shell Programming and Scripting 1 05-26-2014 03:54 AM
Is rsync --delete on some files without write permission possible? freddie50 Shell Programming and Scripting 3 07-12-2013 02:55 AM
rsync delete specific files - from different target folder MVEERA Shell Programming and Scripting 0 11-22-2011 09:49 AM
rsync delete single file from the target folder MVEERA Shell Programming and Scripting 3 11-21-2011 06:56 PM
RHEL 5.6 Slow rsync to NFS array general_lee Red Hat 2 03-05-2011 10:52 AM
rsync --delete sarahslagstedt Fedora 7 10-03-2010 04:06 PM
rsync question (regarding --delete) rethink Shell Programming and Scripting 2 10-27-2009 06:13 PM
Rsync help - unable to delete the Source file amitkhiare Shell Programming and Scripting 1 07-23-2009 04:56 AM
Bash rsync but move not delete Movomito Shell Programming and Scripting 1 04-30-2008 05:37 PM
rsync with the --delete option sallender UNIX for Dummies Questions & Answers 1 10-22-2005 10:52 AM
rsync with the --delete option. sallender UNIX for Advanced & Expert Users 2 10-21-2005 12:55 PM